Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 103.9 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 191 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6559/0.6559, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2818, allocations: 76.18 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002032/0.2838, allocations: 1.492 MB / 0.5575 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005734/0.2844, allocations: 0.5047 MB / 0.558 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.2845, allocations: 0 / 0.558 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.2845, allocations: 1.344 kB / 0.558 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2847, allocations: 12.44 kB / 0.558 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.998e-05/0.2848, allocations: 30.31 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.2848, allocations: 46.28 kB / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.2849, allocations: 12.12 kB / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.285, allocations: 26.19 kB / 0.5581 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.2851, allocations: 21.86 kB / 0.5581 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2851, allocations: 4.75 kB / 0.5581 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.2851, allocations: 5.312 kB / 0.5581 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.2851, allocations: 7.844 kB / 0.5581 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.2852, allocations: 24.94 kB / 0.5582 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.071e-05/0.2853, allocations: 40.78 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2853, allocations: 0.6562 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2853, allocations: 1.281 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.2853, allocations: 0 / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004366/0.2857, allocations: 355 kB / 0.5585 GB, free: 34.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2858, allocations: 9.625 kB / 0.5586 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.2858, allocations: 33.7 kB / 0.5586 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.2858, allocations: 10.28 kB / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.2859, allocations: 171.1 kB / 0.5588 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2859, allocations: 9.75 kB / 0.5588 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.2859, allocations: 4.156 kB / 0.5588 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.286, allocations: 62.88 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2861, allocations: 3.125 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2861, allocations: 0 / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2861, allocations: 1.062 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.2861, allocations: 25.77 kB / 0.5589 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.2864, allocations: 279.4 kB / 0.5591 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.2866, allocations: 60.75 kB / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.2866, allocations: 26.92 kB / 0.5592 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.2866, allocations: 2.375 kB / 0.5592 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.2868, allocations: 75.14 kB / 0.5593 GB, free: 33.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2868, allocations: 0 / 0.5593 GB, free: 33.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001967/0.287, allocations: 92.72 kB / 0.5594 GB, free: 33.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.287, allocations: 53.56 kB / 0.5594 GB, free: 33.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.409e-05/0.2871, allocations: 103.7 kB / 0.5595 GB, free: 33.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.2871, allocations: 28.27 kB / 0.5595 GB, free: 33.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.2871, allocations: 90.16 kB / 0.5596 GB, free: 33.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.2871, allocations: 15.55 kB / 0.5596 GB, free: 33.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.2872, allocations: 23.34 kB / 0.5597 GB, free: 33.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.2872, allocations: 317.8 kB / 0.56 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/0.2872, allocations: 18.41 kB / 0.56 GB, free: 33.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.2873, allocations: 22.67 kB / 0.56 GB, free: 33.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.2873, allocations: 40.2 kB / 0.5601 GB, free: 33.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2874, allocations: 0 / 0.5601 GB, free: 33.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.9e-05/0.2875, allocations: 68.47 kB / 0.5601 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2875, allocations: 5.094 kB / 0.5601 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2875, allocations: 1.516 kB / 0.5601 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2875, allocations: 2.25 kB / 0.5601 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.2876, allocations: 10.39 kB / 0.5601 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2876, allocations: 4.875 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.2877, allocations: 8.812 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.2877, allocations: 2.594 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.2877, allocations: 118.8 kB / 0.5603 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.2877, allocations: 1.281 kB / 0.5603 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.2879, allocations: 109.2 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2879, allocations: 6.406 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2879, allocations: 1.406 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2879, allocations: 0.8438 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.473e-05/0.288, allocations: 186.8 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.288, allocations: 1.344 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.2881, allocations: 9.609 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2881, allocations: 1.609 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2881, allocations: 1.984 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2881, allocations: 1.031 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2881, allocations: 0.5156 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.2883, allocations: 128.1 kB / 0.5607 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.2883, allocations: 83.97 kB / 0.5608 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2883, allocations: 6.422 kB / 0.5608 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.2884, allocations: 4.297 kB / 0.5608 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.2884, allocations: 6.547 kB / 0.5608 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2885, allocations: 3.734 kB / 0.5608 GB, free: 32.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.518e-05/0.2885, allocations: 86.05 kB / 0.5609 GB, free: 32.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2885, allocations: 1.406 kB / 0.5609 GB, free: 32.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001822/0.2887, allocations: 8.75 kB / 0.5609 GB, free: 32.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000272/0.289, allocations: 0.6611 MB / 0.5615 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2891, allocations: 53.97 kB / 0.5616 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2891, allocations: 1.125 kB / 0.5616 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.2892, allocations: 30.28 kB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2893, allocations: 7.172 kB / 0.5616 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.2901, allocations: 1.242 MB / 0.5628 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.771e-05/0.2902, allocations: 0.6863 MB / 0.5635 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.2902, allocations: 7.875 kB / 0.5635 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.2903, allocations: 16.94 kB / 0.5635 GB, free: 29.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2903, allocations: 0 / 0.5635 GB, free: 29.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.3025, allocations: 1.536 MB / 0.565 GB, free: 29.65 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.3027, allocations: 235.7 kB / 0.5652 GB, free: 29.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.918, allocations: 0 / 0.5652 GB, free: 29.4 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)