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.0007942/0.0007942, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008434/0.0008434, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 267.1 kB / 291.3 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 14.73 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05049/0.1829, allocations: 56.47 MB / 0.7396 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.1968, allocations: 11.22 MB / 0.7506 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.1981, allocations: 47.69 kB / 0.7506 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.1994, allocations: 472.8 kB / 0.7511 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.2029, allocations: 1.532 MB / 0.7526 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.2051, allocations: 0.8576 MB / 0.7534 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003515/0.2086, allocations: 3.398 MB / 0.7567 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.2098, allocations: 0.8067 MB / 0.7575 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.2115, allocations: 1.038 MB / 0.7585 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.2125, allocations: 0.8283 MB / 0.7593 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.2126, allocations: 44 kB / 0.7594 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.2148, allocations: 1.091 MB / 0.7604 GB, free: 1.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.215, allocations: 207 kB / 0.7606 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2153, allocations: 281 kB / 0.7609 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2787/0.494, allocations: 1.639 MB / 0.7625 GB, free: 28.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.494, allocations: 0 / 0.7625 GB, free: 28.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.494, allocations: 1.844 kB / 0.7625 GB, free: 28.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.363e-05/0.4941, allocations: 0 / 0.7625 GB, free: 28.26 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.002719/0.4968, allocations: 1.514 MB / 0.764 GB, free: 27.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4968, allocations: 9.594 kB / 0.764 GB, free: 27.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.4992, allocations: 0.5144 MB / 0.7645 GB, free: 27.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.5012, allocations: 1.087 MB / 0.7656 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.5016, allocations: 134.8 kB / 0.7657 GB, free: 27.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.5018, allocations: 84.91 kB / 0.7658 GB, free: 27.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.504, allocations: 1.026 MB / 0.7668 GB, free: 26.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.504, allocations: 4 kB / 0.7668 GB, free: 26.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.5041, allocations: 34.12 kB / 0.7668 GB, free: 26.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.5041, allocations: 22.09 kB / 0.7668 GB, free: 26.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.5066, allocations: 1.004 MB / 0.7678 GB, free: 26.91 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.005667/0.5123, allocations: 4.712 MB / 0.7724 GB, free: 24.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/0.5163, allocations: 1.129 MB / 0.7735 GB, free: 24.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009934/0.5173, allocations: 443.8 kB / 0.7739 GB, free: 24.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007107/0.518, allocations: 1.029 MB / 0.7749 GB, free: 23.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.518, allocations: 38.03 kB / 0.775 GB, free: 23.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/0.518, allocations: 0 / 0.775 GB, free: 23.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=53): time 0.009059/0.5271, allocations: 2.494 MB / 0.7774 GB, free: 22.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.5271, allocations: 54.84 kB / 0.7775 GB, free: 22.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.5283, allocations: 0.9264 MB / 0.7784 GB, free: 22.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.5284, allocations: 38.2 kB / 0.7784 GB, free: 22.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.5287, allocations: 0.4997 MB / 0.7789 GB, free: 22.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.5288, allocations: 181 kB / 0.7791 GB, free: 22.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.5289, allocations: 16.25 kB / 0.7791 GB, free: 22.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.5289, allocations: 331.3 kB / 0.7794 GB, free: 22.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009834/0.5299, allocations: 379 kB / 0.7798 GB, free: 22.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.531, allocations: 0.5399 MB / 0.7803 GB, free: 21.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.532, allocations: 403.5 kB / 0.7807 GB, free: 21.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.532, allocations: 1.625 kB / 0.7807 GB, free: 21.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002621/0.5346, allocations: 1.127 MB / 0.7818 GB, free: 21.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.5347, allocations: 165.7 kB / 0.7819 GB, free: 21.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.5347, allocations: 8.359 kB / 0.7819 GB, free: 21.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.5358, allocations: 326.1 kB / 0.7823 GB, free: 21.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.5365, allocations: 146.8 kB / 0.7824 GB, free: 21.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.5377, allocations: 0.9388 MB / 0.7833 GB, free: 21.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.5389, allocations: 166 kB / 0.7835 GB, free: 20.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.5389, allocations: 32.03 kB / 0.7835 GB, free: 20.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.539, allocations: 3.75 kB / 0.7835 GB, free: 20.98 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002504/0.5415, allocations: 1.006 MB / 0.7845 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5415, allocations: 3.656 kB / 0.7845 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/0.5425, allocations: 318.2 kB / 0.7848 GB, free: 20.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.5431, allocations: 144.1 kB / 0.7849 GB, free: 20.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5443, allocations: 0.9329 MB / 0.7858 GB, free: 20.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.5454, allocations: 166.1 kB / 0.786 GB, free: 20.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.5454, allocations: 26.94 kB / 0.786 GB, free: 20.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004434/0.5459, allocations: 359.8 kB / 0.7864 GB, free: 20.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.5461, allocations: 107.4 kB / 0.7865 GB, free: 20.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.5507, allocations: 1.437 MB / 0.7879 GB, free: 19.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.5507, allocations: 9.594 kB / 0.7879 GB, free: 19.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5507, allocations: 2.734 kB / 0.7879 GB, free: 19.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5507, allocations: 8.391 kB / 0.7879 GB, free: 19.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/0.5562, allocations: 2.524 MB / 0.7904 GB, free: 19.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.5562, allocations: 2.938 kB / 0.7904 GB, free: 19.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.5568, allocations: 118.1 kB / 0.7905 GB, free: 19.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009718/0.5578, allocations: 327.2 kB / 0.7908 GB, free: 19.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.5578, allocations: 16.84 kB / 0.7908 GB, free: 19.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.5591, allocations: 0.9687 MB / 0.7918 GB, free: 18.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5591, allocations: 1.375 kB / 0.7918 GB, free: 18.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.5631, allocations: 1.445 MB / 0.7932 GB, free: 18.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.5636, allocations: 298 kB / 0.7934 GB, free: 18.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.5638, allocations: 10.5 kB / 0.7935 GB, free: 18.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/0.5647, allocations: 123.3 kB / 0.7936 GB, free: 18.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.5648, allocations: 45.27 kB / 0.7936 GB, free: 18.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/0.5649, allocations: 19.86 kB / 0.7936 GB, free: 18.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008584/0.5657, allocations: 0.6508 MB / 0.7943 GB, free: 18.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5657, allocations: 0 / 0.7943 GB, free: 18.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001519/0.5673, allocations: 0.5742 MB / 0.7948 GB, free: 18.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006618/0.5679, allocations: 374.8 kB / 0.7952 GB, free: 18.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003514/0.5714, allocations: 1.384 MB / 0.7965 GB, free: 18.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5715, allocations: 1.375 kB / 0.7965 GB, free: 18.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.5726, allocations: 489.5 kB / 0.797 GB, free: 18.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.5749, allocations: 0.5129 MB / 0.7975 GB, free: 18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.5784, allocations: 2.324 MB / 0.7998 GB, free: 16.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.5788, allocations: 1.071 MB / 0.8008 GB, free: 16.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009984/0.5799, allocations: 230.7 kB / 0.801 GB, free: 16.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.5801, allocations: 83.7 kB / 0.8011 GB, free: 16.14 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.5801, allocations: 0 / 0.8011 GB, free: 16.14 MB / 0.545 GB Notification: Performance of Templates: time 0.03017/0.6102, allocations: 23.05 MB / 0.8236 GB, free: 3.312 MB / 0.545 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)