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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007842/0.0007842, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004592/0.004592, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003109, allocations: 8 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5589/0.5593, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05671/0.616, allocations: 61.22 MB / 1.083 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.6328, allocations: 12.93 MB / 1.096 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.635, allocations: 59.62 kB / 1.096 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.6374, allocations: 0.7926 MB / 1.096 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004805/0.6422, allocations: 1.827 MB / 1.098 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.6453, allocations: 1.229 MB / 1.099 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.6499, allocations: 4.317 MB / 1.104 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.6515, allocations: 1.069 MB / 1.105 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.6535, allocations: 1.143 MB / 1.106 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.6549, allocations: 1.011 MB / 1.107 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.6551, allocations: 64 kB / 1.107 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.6578, allocations: 1.505 MB / 1.108 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.6581, allocations: 378.4 kB / 1.109 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008004/0.6589, allocations: 0.8136 MB / 1.109 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.6619, allocations: 2.819 MB / 1.112 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6619, allocations: 4 kB / 1.112 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6619, allocations: 0 / 1.112 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.6619, allocations: 0 / 1.112 GB, free: 4.352 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.002965/0.6649, allocations: 1.867 MB / 1.114 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.665, allocations: 15.97 kB / 1.114 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.6651, allocations: 135.6 kB / 1.114 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.6675, allocations: 0.553 MB / 1.115 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.6697, allocations: 1.395 MB / 1.116 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007551/0.6705, allocations: 277.2 kB / 1.116 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.6706, allocations: 92 kB / 1.116 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.6731, allocations: 1.271 MB / 1.118 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.6732, allocations: 4 kB / 1.118 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.6733, allocations: 36 kB / 1.118 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.6733, allocations: 23.94 kB / 1.118 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.6765, allocations: 1.347 MB / 1.119 GB, free: 13.18 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.006041/0.6825, allocations: 4.605 MB / 1.123 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008413/0.6909, allocations: 1.968 MB / 1.125 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009904/0.6919, allocations: 471.7 kB / 1.126 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007423/0.6927, allocations: 1.156 MB / 1.127 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.6938, allocations: 0.5417 MB / 1.128 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.6939, allocations: 0 / 1.128 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.003204/0.6971, allocations: 1.415 MB / 1.129 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6971, allocations: 89.67 kB / 1.129 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.6993, allocations: 1.634 MB / 1.131 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.6994, allocations: 37.7 kB / 1.131 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.6999, allocations: 0.6628 MB / 1.131 GB, free: 12 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.7001, allocations: 213 kB / 1.131 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.7002, allocations: 65.69 kB / 1.132 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7003, allocations: 337.9 kB / 1.132 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.7016, allocations: 0.5056 MB / 1.132 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.703, allocations: 0.6707 MB / 1.133 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.7053, allocations: 1.005 MB / 1.134 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.7053, allocations: 0 / 1.134 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003089/0.7084, allocations: 1.346 MB / 1.135 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.022e-05/0.7085, allocations: 162.4 kB / 1.135 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7085, allocations: 0 / 1.135 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7086, allocations: 8 kB / 1.135 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.7096, allocations: 227.7 kB / 1.136 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.7096, allocations: 15.88 kB / 1.136 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.7111, allocations: 254.9 kB / 1.136 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.7112, allocations: 31.98 kB / 1.136 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.7112, allocations: 4 kB / 1.136 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002935/0.7141, allocations: 1.167 MB / 1.137 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7141, allocations: 4 kB / 1.137 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.7142, allocations: 7.938 kB / 1.137 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7152, allocations: 243.9 kB / 1.137 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.7152, allocations: 4 kB / 1.137 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.7165, allocations: 211.1 kB / 1.138 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.7166, allocations: 31.97 kB / 1.138 GB, free: 9.383 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.0006683/0.7173, allocations: 434.6 kB / 1.138 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.7175, allocations: 154 kB / 1.138 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.7203, allocations: 1.282 MB / 1.139 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.7204, allocations: 8 kB / 1.139 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7204, allocations: 3.984 kB / 1.139 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.7204, allocations: 0 / 1.139 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004577/0.725, allocations: 2.746 MB / 1.142 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.725, allocations: 4 kB / 1.142 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.7257, allocations: 152.1 kB / 1.142 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.7257, allocations: 7.938 kB / 1.142 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.7258, allocations: 19.98 kB / 1.142 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.7258, allocations: 4 kB / 1.142 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7258, allocations: 4 kB / 1.142 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.7282, allocations: 1.284 MB / 1.144 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.7288, allocations: 402.7 kB / 1.144 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.729, allocations: 16 kB / 1.144 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.7302, allocations: 127.8 kB / 1.144 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.7304, allocations: 52.3 kB / 1.144 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.7304, allocations: 31.98 kB / 1.144 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001808/0.7323, allocations: 1.165 MB / 1.145 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7323, allocations: 0 / 1.145 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001748/0.734, allocations: 0.7135 MB / 1.146 GB, free: 0.6289 MB / 0.8887 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.004216/0.7382, allocations: 2.503 MB / 1.148 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00416/0.7424, allocations: 1.73 MB / 1.15 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7424, allocations: 3.938 kB / 1.15 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.7435, allocations: 0.5106 MB / 1.151 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/0.7471, allocations: 0.6339 MB / 1.151 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/0.7708, allocations: 13.34 MB / 1.164 GB, free: 13.56 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.7716, allocations: 1.231 MB / 1.165 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001589/0.7732, allocations: 411.2 kB / 1.166 GB, free: 11.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.7741, allocations: 0.581 MB / 1.166 GB, free: 11.34 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/0.7741, allocations: 0 / 1.166 GB, free: 11.34 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.769/3.543, allocations: 40.95 MB / 1.206 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/3.543, allocations: 261.9 kB / 1.207 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/6.925, allocations: 4.062 kB / 1.207 GB, free: 2.594 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)