Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 252 MB / 268 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 182 kB / 327.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 94.16 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003316, allocations: 13.42 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2009, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.06747/0.2684, allocations: 87.71 MB / 0.9871 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03769/0.3062, allocations: 25.2 MB / 1.012 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.3111, allocations: 91.38 kB / 1.012 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005663/0.3168, allocations: 1.535 MB / 1.013 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.3282, allocations: 3.323 MB / 1.017 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.3387, allocations: 3.45 MB / 1.02 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01228/0.351, allocations: 8.587 MB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003862/0.3549, allocations: 1.974 MB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/0.3605, allocations: 2.217 MB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.3645, allocations: 1.964 MB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007667/0.3653, allocations: 124 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/0.3715, allocations: 2.28 MB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.3729, allocations: 0.6614 MB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.3757, allocations: 1.396 MB / 1.039 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006628/0.3823, allocations: 3.772 MB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3823, allocations: 0 / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3824, allocations: 0 / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.182e-05/0.3824, allocations: 0 / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.006967/0.3894, allocations: 2.981 MB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3895, allocations: 8.031 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.3928, allocations: 0.7116 MB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/0.3977, allocations: 2.29 MB / 1.048 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008039/0.3986, allocations: 330.3 kB / 1.049 GB, free: 8.109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.3989, allocations: 160 kB / 1.049 GB, free: 7.953 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/0.4036, allocations: 2.195 MB / 1.051 GB, free: 5.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.4037, allocations: 4 kB / 1.051 GB, free: 5.656 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.4039, allocations: 64 kB / 1.051 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/0.404, allocations: 39.98 kB / 1.051 GB, free: 5.555 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005212/0.4092, allocations: 2.127 MB / 1.053 GB, free: 3.422 MB / 0.698 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.4002/0.8094, allocations: 9.519 MB / 1.062 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.8125, allocations: 1.403 MB / 1.064 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.8143, allocations: 0.8238 MB / 1.064 GB, free: 142.2 MB / 0.698 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 evalFunc (simulation): time 0.007097/0.8214, allocations: 4.348 MB / 1.069 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002158/0.8236, allocations: 0.946 MB / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001124/0.8247, allocations: 198.1 kB / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 6.602e-06/0.8248, allocations: 0 / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.006433/0.8312, allocations: 2.331 MB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.8313, allocations: 174 kB / 1.072 GB, free: 139.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/0.8357, allocations: 2.219 MB / 1.074 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003206/0.8361, allocations: 57.91 kB / 1.074 GB, free: 139.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.8372, allocations: 1.13 MB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.8376, allocations: 362.9 kB / 1.076 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.8377, allocations: 24.72 kB / 1.076 GB, free: 139.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.8378, allocations: 359.7 kB / 1.076 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.84, allocations: 0.8127 MB / 1.077 GB, free: 138.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.8422, allocations: 1.257 MB / 1.078 GB, free: 138 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.8461, allocations: 1.856 MB / 1.08 GB, free: 137.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.8461, allocations: 3.406 kB / 1.08 GB, free: 137.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005378/0.8515, allocations: 2.256 MB / 1.082 GB, free: 136.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.8517, allocations: 395.8 kB / 1.083 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/0.8517, allocations: 19.33 kB / 1.083 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/0.8518, allocations: 17.69 kB / 1.083 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.8536, allocations: 417.7 kB / 1.083 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.8536, allocations: 23.45 kB / 1.083 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.8561, allocations: 274.8 kB / 1.083 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.8563, allocations: 76.05 kB / 1.083 GB, free: 135.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.8563, allocations: 3.969 kB / 1.084 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004277/0.8606, allocations: 1.988 MB / 1.085 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.8607, allocations: 15.89 kB / 1.085 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8607, allocations: 15.69 kB / 1.085 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.8623, allocations: 424 kB / 1.086 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.8623, allocations: 23.66 kB / 1.086 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.8646, allocations: 263 kB / 1.086 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.8647, allocations: 67.14 kB / 1.086 GB, free: 134.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.TSouEnt.T_start,TSouEnt.T_start,$PRE.TSouEnt.count,TSouEnt.count,$PRE.TLoaSet.T_start,TLoaSet.T_start,$PRE.TLoaSet.count,TLoaSet.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.001146/0.8659, allocations: 0.617 MB / 1.087 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.8663, allocations: 236 kB / 1.087 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/0.8708, allocations: 2.083 MB / 1.089 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.8708, allocations: 14.78 kB / 1.089 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.8709, allocations: 1.344 kB / 1.089 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003582/0.8745, allocations: 1.624 MB / 1.091 GB, free: 132.1 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.007016/0.8815, allocations: 4.237 MB / 1.095 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.8815, allocations: 3.969 kB / 1.095 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.8828, allocations: 275.1 kB / 1.095 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.8828, allocations: 9.453 kB / 1.095 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/0.8829, allocations: 30.75 kB / 1.095 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.8829, allocations: 10.09 kB / 1.095 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.8829, allocations: 10.81 kB / 1.095 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/0.8884, allocations: 2.913 MB / 1.098 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.8896, allocations: 0.4996 MB / 1.098 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003364/0.89, allocations: 23.69 kB / 1.098 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.8919, allocations: 246.1 kB / 1.099 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.8921, allocations: 111.7 kB / 1.099 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.8922, allocations: 56.89 kB / 1.099 GB, free: 127 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002088/0.8943, allocations: 1.553 MB / 1.1 GB, free: 125.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8944, allocations: 0 / 1.1 GB, free: 125.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003215/0.8976, allocations: 1.301 MB / 1.102 GB, free: 124.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,reaToInt.y,uMod.T_start,uMod.count,pulse.T_start,pulse.count,TSouEnt.T_start,TSouEnt.count,TLoaSet.T_start,TLoaSet.count) * Number of discrete states: 4 (uMod.count,pulse.count,TSouEnt.count,TLoaSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.001289/0.8989, allocations: 0.6484 MB / 1.102 GB, free: 124 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006013/0.9049, allocations: 2.976 MB / 1.105 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.905, allocations: 3.859 kB / 1.105 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.9067, allocations: 0.8689 MB / 1.106 GB, free: 120.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005791/0.9126, allocations: 1.102 MB / 1.107 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/0.9194, allocations: 5.259 MB / 1.112 GB, free: 113.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.9203, allocations: 1.628 MB / 1.114 GB, free: 112.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009841/0.9213, allocations: 215.3 kB / 1.114 GB, free: 111.9 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/0.9213, allocations: 0 / 1.114 GB, free: 111.9 MB / 0.698 GB Notification: Performance of Templates: time 0.05718/0.9785, allocations: 42.86 MB / 1.156 GB, free: 69.31 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)