Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",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.001062/0.001062, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4983, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05115/0.5495, allocations: 62.76 MB / 1.079 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.5641, allocations: 13.04 MB / 1.091 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.5656, allocations: 67.62 kB / 1.091 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.5675, allocations: 0.9471 MB / 1.092 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.5714, allocations: 1.983 MB / 1.094 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.574, allocations: 1.391 MB / 1.096 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003304/0.5773, allocations: 3.464 MB / 1.099 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.5788, allocations: 1.273 MB / 1.1 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.5811, allocations: 1.361 MB / 1.102 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009701/0.5821, allocations: 1.067 MB / 1.103 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.5823, allocations: 156 kB / 1.103 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.5847, allocations: 1.603 MB / 1.104 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.5851, allocations: 478.4 kB / 1.105 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006655/0.5857, allocations: 0.8939 MB / 1.106 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.5883, allocations: 2.925 MB / 1.109 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5883, allocations: 4 kB / 1.109 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5883, allocations: 0 / 1.109 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.5884, allocations: 0 / 1.109 GB, free: 4.812 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002947/0.5913, allocations: 2.167 MB / 1.111 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.5914, allocations: 12.03 kB / 1.111 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.5915, allocations: 143.6 kB / 1.111 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.5937, allocations: 498.2 kB / 1.111 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.5957, allocations: 1.358 MB / 1.113 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006907/0.5964, allocations: 257.3 kB / 1.113 GB, free: 268 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.5965, allocations: 91.94 kB / 1.113 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.5988, allocations: 1.244 MB / 1.114 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5988, allocations: 7.938 kB / 1.114 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.5989, allocations: 36 kB / 1.114 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5989, allocations: 20 kB / 1.114 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.6018, allocations: 1.296 MB / 1.116 GB, free: 13.54 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005528/0.6074, allocations: 4.582 MB / 1.12 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007326/0.6147, allocations: 1.737 MB / 1.122 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/0.6156, allocations: 456.2 kB / 1.122 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006928/0.6163, allocations: 1.16 MB / 1.123 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.6174, allocations: 0.5222 MB / 1.124 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.024e-06/0.6174, allocations: 0 / 1.124 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.002955/0.6204, allocations: 1.364 MB / 1.125 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.6204, allocations: 85.61 kB / 1.125 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.6224, allocations: 1.638 MB / 1.127 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.6225, allocations: 45.7 kB / 1.127 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.6229, allocations: 0.6472 MB / 1.127 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6231, allocations: 213 kB / 1.128 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.6233, allocations: 158.5 kB / 1.128 GB, free: 344 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.6235, allocations: 337.9 kB / 1.128 GB, free: 0 / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.6247, allocations: 496.5 kB / 1.129 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.626, allocations: 0.6423 MB / 1.129 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.6281, allocations: 0.9655 MB / 1.13 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6281, allocations: 0 / 1.13 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00289/0.631, allocations: 1.28 MB / 1.131 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.631, allocations: 7.984 kB / 1.131 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.631, allocations: 4 kB / 1.131 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6311, allocations: 4 kB / 1.131 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009692/0.632, allocations: 216 kB / 1.132 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.6321, allocations: 7.938 kB / 1.132 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.6333, allocations: 210.9 kB / 1.132 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.6333, allocations: 35.98 kB / 1.132 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001501/0.6349, allocations: 0.7673 MB / 1.133 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001322/0.6362, allocations: 0.64 MB / 1.133 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002077/0.6383, allocations: 0.9617 MB / 1.134 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.6383, allocations: 0 / 1.134 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.002847/0.6411, allocations: 1.276 MB / 1.135 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.6412, allocations: 8 kB / 1.135 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.6412, allocations: 0 / 1.135 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.6412, allocations: 8 kB / 1.135 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.6421, allocations: 219.9 kB / 1.136 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.6422, allocations: 8 kB / 1.136 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.6433, allocations: 187.3 kB / 1.136 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.6434, allocations: 35.97 kB / 1.136 GB, free: 7.852 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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 0.0001824/0.6436, allocations: 232 kB / 1.136 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.6438, allocations: 158 kB / 1.136 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.6462, allocations: 1.242 MB / 1.138 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.6463, allocations: 11.98 kB / 1.138 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6463, allocations: 0 / 1.138 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6463, allocations: 3.984 kB / 1.138 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.6502, allocations: 2.711 MB / 1.14 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.6502, allocations: 4 kB / 1.14 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/0.6509, allocations: 139.8 kB / 1.14 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6509, allocations: 4.312 kB / 1.14 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.651, allocations: 23.98 kB / 1.14 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.651, allocations: 4 kB / 1.14 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.651, allocations: 7.938 kB / 1.14 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.6532, allocations: 1.253 MB / 1.142 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.6536, allocations: 374.8 kB / 1.142 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.6538, allocations: 23.98 kB / 1.142 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/0.6548, allocations: 99.88 kB / 1.142 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6549, allocations: 48.31 kB / 1.142 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/0.655, allocations: 35.97 kB / 1.142 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001549/0.6565, allocations: 1.165 MB / 1.143 GB, free: 172 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6565, allocations: 0 / 1.143 GB, free: 172 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001351/0.6579, allocations: 0.7175 MB / 1.144 GB, free: 15.45 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.003751/0.6617, allocations: 2.478 MB / 1.146 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003953/0.6656, allocations: 1.734 MB / 1.148 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6656, allocations: 4.062 kB / 1.148 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000988/0.6666, allocations: 0.4911 MB / 1.149 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.6692, allocations: 0.6593 MB / 1.149 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.6864, allocations: 12.78 MB / 1.162 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.6871, allocations: 1.234 MB / 1.163 GB, free: 11.71 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001296/0.6884, allocations: 413.8 kB / 1.163 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006972/0.6891, allocations: 0.5735 MB / 1.164 GB, free: 10.75 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.6891, allocations: 0 / 1.164 GB, free: 10.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.541/3.23, allocations: 41.39 MB / 1.204 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.746/12.98, allocations: 7.719 kB / 1.204 GB, free: 1.871 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)