Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009415, 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.007939/0.007939, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 271 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.947/0.947, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004276, allocations: 14.81 kB / 0.5987 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05672/0.2246, allocations: 59.72 MB / 0.7434 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.2429, allocations: 11.92 MB / 0.7551 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.2452, allocations: 51.62 kB / 0.7551 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.247, allocations: 0.5477 MB / 0.7557 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.2521, allocations: 1.8 MB / 0.7574 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.2556, allocations: 1.086 MB / 0.7585 GB, free: 3.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3363/0.5919, allocations: 3.895 MB / 0.7623 GB, free: 23.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.5941, allocations: 0.9162 MB / 0.7632 GB, free: 23.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.5969, allocations: 1.114 MB / 0.7643 GB, free: 23.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.599, allocations: 0.8738 MB / 0.7651 GB, free: 23.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.5992, allocations: 43.88 kB / 0.7652 GB, free: 23.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.6022, allocations: 1.328 MB / 0.7665 GB, free: 23.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.6025, allocations: 215.1 kB / 0.7667 GB, free: 23.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.6035, allocations: 0.6386 MB / 0.7673 GB, free: 23.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.6067, allocations: 2.206 MB / 0.7694 GB, free: 23.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6068, allocations: 3 kB / 0.7695 GB, free: 23.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6068, allocations: 0 / 0.7695 GB, free: 23.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.6068, allocations: 0 / 0.7695 GB, free: 23.47 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003038/0.6098, allocations: 1.503 MB / 0.7709 GB, free: 22.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6099, allocations: 9.875 kB / 0.7709 GB, free: 22.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.6127, allocations: 0.5157 MB / 0.7714 GB, free: 22.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.6148, allocations: 1.127 MB / 0.7725 GB, free: 22.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.6152, allocations: 132.5 kB / 0.7727 GB, free: 22.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.6153, allocations: 85.09 kB / 0.7727 GB, free: 22.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.6175, allocations: 1.037 MB / 0.7738 GB, free: 21.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.6175, allocations: 1.406 kB / 0.7738 GB, free: 21.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/0.6176, allocations: 34 kB / 0.7738 GB, free: 21.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.6176, allocations: 20.44 kB / 0.7738 GB, free: 21.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.6201, allocations: 1.004 MB / 0.7748 GB, free: 21.95 MB / 0.545 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.005743/0.6259, allocations: 4.72 MB / 0.7794 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.63, allocations: 1.135 MB / 0.7805 GB, free: 19.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.6311, allocations: 441.6 kB / 0.7809 GB, free: 19.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007931/0.632, allocations: 1.033 MB / 0.7819 GB, free: 18.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.632, allocations: 43.31 kB / 0.782 GB, free: 18.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 3.386e-06/0.632, allocations: 0 / 0.782 GB, free: 18.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.01005/0.6421, allocations: 2.501 MB / 0.7844 GB, free: 17.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.6421, allocations: 59.22 kB / 0.7845 GB, free: 17.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6433, allocations: 0.9316 MB / 0.7854 GB, free: 17.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.6435, allocations: 38.52 kB / 0.7854 GB, free: 17.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.6438, allocations: 0.5015 MB / 0.7859 GB, free: 17.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.644, allocations: 190.5 kB / 0.7861 GB, free: 17.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.6441, allocations: 48.7 kB / 0.7861 GB, free: 17.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.6442, allocations: 334.1 kB / 0.7865 GB, free: 17.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.6453, allocations: 381.4 kB / 0.7868 GB, free: 17.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.6465, allocations: 0.5457 MB / 0.7874 GB, free: 16.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.649, allocations: 0.827 MB / 0.7882 GB, free: 16.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.649, allocations: 0.5 kB / 0.7882 GB, free: 16.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003311/0.6523, allocations: 1.132 MB / 0.7893 GB, free: 16.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.6524, allocations: 170.9 kB / 0.7894 GB, free: 16.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.6524, allocations: 3.719 kB / 0.7894 GB, free: 16.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6538, allocations: 327.7 kB / 0.7897 GB, free: 16.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.6545, allocations: 144.1 kB / 0.7899 GB, free: 16.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.656, allocations: 0.9354 MB / 0.7908 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.6574, allocations: 176.5 kB / 0.791 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.6574, allocations: 31.72 kB / 0.791 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.6575, allocations: 3.688 kB / 0.791 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002796/0.6603, allocations: 1.007 MB / 0.792 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.6603, allocations: 2.594 kB / 0.792 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.6614, allocations: 328 kB / 0.7923 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.662, allocations: 142.6 kB / 0.7924 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.6634, allocations: 0.9377 MB / 0.7933 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.6648, allocations: 164.2 kB / 0.7935 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/0.6649, allocations: 35.23 kB / 0.7935 GB, free: 15.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000581/0.6655, allocations: 353.4 kB / 0.7939 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.6657, allocations: 106 kB / 0.794 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/0.6705, allocations: 1.444 MB / 0.7954 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.6706, allocations: 14.5 kB / 0.7954 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6706, allocations: 0 / 0.7954 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6706, allocations: 1.125 kB / 0.7954 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.6768, allocations: 2.526 MB / 0.7979 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.6768, allocations: 1.062 kB / 0.7979 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.6774, allocations: 118.2 kB / 0.798 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.6784, allocations: 332.2 kB / 0.7983 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.6785, allocations: 17.19 kB / 0.7983 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.6799, allocations: 0.9648 MB / 0.7993 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6799, allocations: 3.156 kB / 0.7993 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/0.6846, allocations: 1.464 MB / 0.8007 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.6852, allocations: 291 kB / 0.801 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6853, allocations: 12.72 kB / 0.801 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.6863, allocations: 123.5 kB / 0.8011 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.6864, allocations: 39.5 kB / 0.8011 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6864, allocations: 27.12 kB / 0.8012 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007961/0.6872, allocations: 0.6596 MB / 0.8018 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6872, allocations: 4 kB / 0.8018 GB, free: 13.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001519/0.6888, allocations: 0.5734 MB / 0.8024 GB, free: 13.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007261/0.6895, allocations: 386.5 kB / 0.8027 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003895/0.6934, allocations: 1.388 MB / 0.8041 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6934, allocations: 0 / 0.8041 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6947, allocations: 498.7 kB / 0.8046 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.6974, allocations: 0.4976 MB / 0.8051 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.7009, allocations: 2.373 MB / 0.8074 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.7013, allocations: 1.067 MB / 0.8084 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008967/0.7022, allocations: 229.6 kB / 0.8086 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.7024, allocations: 81.5 kB / 0.8087 GB, free: 10.21 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.7024, allocations: 0 / 0.8087 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Templates: time 0.03406/0.7365, allocations: 23.66 MB / 0.8318 GB, free: 9.059 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)