Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.17/2.17, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 193.5 kB / 499.1 MB, free: 4.648 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 105.8 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 53.19 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2123, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.03921/0.2516, allocations: 62.34 MB / 1.279 GB, free: 54.68 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.2653, allocations: 13.07 MB / 1.292 GB, free: 41.57 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.2674, allocations: 59.62 kB / 1.292 GB, free: 41.51 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.2696, allocations: 0.8004 MB / 1.293 GB, free: 40.71 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.2736, allocations: 1.82 MB / 1.294 GB, free: 38.88 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.2764, allocations: 1.241 MB / 1.296 GB, free: 37.65 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003415/0.2799, allocations: 4.338 MB / 1.3 GB, free: 33.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.281, allocations: 1.099 MB / 1.301 GB, free: 32.18 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.2825, allocations: 1.194 MB / 1.302 GB, free: 30.98 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.2836, allocations: 1.062 MB / 1.303 GB, free: 29.91 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.2838, allocations: 80 kB / 1.303 GB, free: 29.84 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.2862, allocations: 1.524 MB / 1.305 GB, free: 28.31 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.2865, allocations: 402.4 kB / 1.305 GB, free: 27.91 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005779/0.2871, allocations: 0.8275 MB / 1.306 GB, free: 27.08 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.2894, allocations: 2.882 MB / 1.309 GB, free: 24.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2894, allocations: 7.938 kB / 1.309 GB, free: 24.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2894, allocations: 0 / 1.309 GB, free: 24.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.2895, allocations: 0 / 1.309 GB, free: 24.18 MB / 0.823 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.003092/0.2925, allocations: 2.163 MB / 1.311 GB, free: 21.96 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2926, allocations: 11.98 kB / 1.311 GB, free: 21.95 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.2948, allocations: 498.2 kB / 1.311 GB, free: 21.46 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.2969, allocations: 1.399 MB / 1.313 GB, free: 20.01 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006942/0.2976, allocations: 249.3 kB / 1.313 GB, free: 19.76 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2977, allocations: 99.92 kB / 1.313 GB, free: 19.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.2999, allocations: 1.24 MB / 1.314 GB, free: 18.39 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3, allocations: 3.938 kB / 1.314 GB, free: 18.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.3001, allocations: 36 kB / 1.314 GB, free: 18.35 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3001, allocations: 20 kB / 1.314 GB, free: 18.33 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.3029, allocations: 1.296 MB / 1.315 GB, free: 17.03 MB / 0.823 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.005698/0.3086, allocations: 4.551 MB / 1.32 GB, free: 12.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/0.3158, allocations: 1.738 MB / 1.322 GB, free: 10.45 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.3167, allocations: 454.3 kB / 1.322 GB, free: 10 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005131/0.3173, allocations: 1.152 MB / 1.323 GB, free: 8.594 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.3183, allocations: 0.5223 MB / 1.324 GB, free: 8.059 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 2.775e-06/0.3183, allocations: 0 / 1.324 GB, free: 8.059 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.003236/0.3216, allocations: 1.368 MB / 1.325 GB, free: 6.684 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3216, allocations: 85.61 kB / 1.325 GB, free: 6.582 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.3237, allocations: 1.631 MB / 1.327 GB, free: 4.941 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.3238, allocations: 37.7 kB / 1.327 GB, free: 4.898 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.3243, allocations: 0.6511 MB / 1.327 GB, free: 4.238 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3244, allocations: 209.1 kB / 1.328 GB, free: 4.031 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.3247, allocations: 166.4 kB / 1.328 GB, free: 3.863 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.3248, allocations: 337.9 kB / 1.328 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.326, allocations: 496.5 kB / 1.329 GB, free: 3.039 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.3272, allocations: 0.6423 MB / 1.329 GB, free: 2.34 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.3292, allocations: 0.9616 MB / 1.33 GB, free: 1.344 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.3292, allocations: 4 kB / 1.33 GB, free: 1.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002808/0.332, allocations: 1.28 MB / 1.331 GB, free: 52 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.332, allocations: 8 kB / 1.331 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3321, allocations: 0 / 1.331 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3321, allocations: 8 kB / 1.331 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.3331, allocations: 216 kB / 1.332 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.3331, allocations: 15.88 kB / 1.332 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.3346, allocations: 226.9 kB / 1.332 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.3347, allocations: 43.86 kB / 1.332 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001661/0.3363, allocations: 0.7673 MB / 1.333 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001401/0.3378, allocations: 0.6395 MB / 1.333 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002193/0.34, allocations: 0.9578 MB / 1.334 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.34, allocations: 0 / 1.334 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003124/0.3431, allocations: 1.28 MB / 1.335 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.3431, allocations: 8 kB / 1.335 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3431, allocations: 0 / 1.335 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.3432, allocations: 8 kB / 1.335 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3442, allocations: 215.8 kB / 1.336 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3442, allocations: 8 kB / 1.336 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.3456, allocations: 195.3 kB / 1.336 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.3457, allocations: 39.97 kB / 1.336 GB, free: 11.34 MB / 0.8386 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.000245/0.346, allocations: 240.9 kB / 1.336 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.3462, allocations: 150.1 kB / 1.336 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.3489, allocations: 1.242 MB / 1.337 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.3489, allocations: 8 kB / 1.337 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3489, allocations: 0 / 1.337 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3489, allocations: 3.984 kB / 1.337 GB, free: 9.695 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.3534, allocations: 2.711 MB / 1.34 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.3534, allocations: 4 kB / 1.34 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.3542, allocations: 140.1 kB / 1.34 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.3542, allocations: 4 kB / 1.34 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.3542, allocations: 19.98 kB / 1.34 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/0.3543, allocations: 11.94 kB / 1.34 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3543, allocations: 3.938 kB / 1.34 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/0.3586, allocations: 2.672 MB / 1.343 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.3592, allocations: 382.8 kB / 1.343 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.3594, allocations: 19.98 kB / 1.343 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.3605, allocations: 111.8 kB / 1.343 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3606, allocations: 56.25 kB / 1.343 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.3607, allocations: 31.97 kB / 1.343 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001727/0.3624, allocations: 1.15 MB / 1.345 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3625, allocations: 4 kB / 1.345 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001884/0.3643, allocations: 0.7254 MB / 1.345 GB, free: 1.469 MB / 0.8386 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.001573/0.3659, allocations: 0.7663 MB / 1.346 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004128/0.3701, allocations: 1.656 MB / 1.348 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3701, allocations: 0 / 1.348 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3712, allocations: 0.4911 MB / 1.348 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/0.3744, allocations: 0.6216 MB / 1.349 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.3791, allocations: 3.35 MB / 1.352 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/0.3801, allocations: 1.254 MB / 1.353 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00167/0.3817, allocations: 410.9 kB / 1.354 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.3822, allocations: 119.4 kB / 1.354 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of SimCode: time 5.92e-07/0.3822, allocations: 0 / 1.354 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of Templates: time 0.0456/0.4278, allocations: 28.26 MB / 1.381 GB, free: 12.96 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)