Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 109.5 kB / 16.41 MB, free: 6.512 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.001776/0.001776, allocations: 187.9 kB / 17.35 MB, free: 5.738 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: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 295.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9996/0.9996, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 87.86 kB / 0.6821 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4661, allocations: 86.98 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06405/0.5302, allocations: 70.43 MB / 0.8358 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.553, allocations: 18.93 MB / 0.8543 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.5556, allocations: 71.56 kB / 0.8544 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.5581, allocations: 0.8228 MB / 0.8552 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007895/0.566, allocations: 2.848 MB / 0.858 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.57, allocations: 1.656 MB / 0.8596 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005633/0.5757, allocations: 4.05 MB / 0.8635 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.5779, allocations: 1.445 MB / 0.8649 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.5821, allocations: 1.805 MB / 0.8667 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.5843, allocations: 1.18 MB / 0.8679 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004369/0.5848, allocations: 176 kB / 0.868 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.5879, allocations: 1.412 MB / 0.8694 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.5883, allocations: 386.7 kB / 0.8698 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.5894, allocations: 0.9254 MB / 0.8707 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003968/0.5934, allocations: 3.119 MB / 0.8737 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5934, allocations: 0 / 0.8737 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5934, allocations: 4 kB / 0.8737 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.107e-05/0.5935, allocations: 0 / 0.8737 GB, free: 6.352 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003284/0.5968, allocations: 2.023 MB / 0.8757 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5968, allocations: 11.97 kB / 0.8757 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.5991, allocations: 450.4 kB / 0.8761 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.6016, allocations: 1.543 MB / 0.8777 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.6017, allocations: 82.03 kB / 0.8777 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.6019, allocations: 111.9 kB / 0.8778 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.6044, allocations: 1.319 MB / 0.8791 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.6044, allocations: 7.938 kB / 0.8791 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.6045, allocations: 51.98 kB / 0.8792 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.6045, allocations: 24 kB / 0.8792 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.6071, allocations: 1.097 MB / 0.8803 GB, free: 15.41 MB / 0.6544 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.008828/0.616, allocations: 7.505 MB / 0.8876 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.6192, allocations: 0.7979 MB / 0.8884 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.6198, allocations: 286 kB / 0.8887 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.6211, allocations: 1.73 MB / 0.8903 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.6212, allocations: 35 kB / 0.8904 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.825e-06/0.6212, allocations: 0 / 0.8904 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.005111/0.6263, allocations: 1.338 MB / 0.8917 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.6264, allocations: 55.84 kB / 0.8917 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.6289, allocations: 1.549 MB / 0.8933 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.883e-05/0.629, allocations: 33.7 kB / 0.8933 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.6295, allocations: 0.6769 MB / 0.8939 GB, free: 440 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.6297, allocations: 173.5 kB / 0.8941 GB, free: 264 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.63, allocations: 174.4 kB / 0.8943 GB, free: 84 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6302, allocations: 334 kB / 0.8946 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.6311, allocations: 361.8 kB / 0.8949 GB, free: 15.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.6324, allocations: 0.6624 MB / 0.8956 GB, free: 14.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.6342, allocations: 0.8789 MB / 0.8964 GB, free: 13.63 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6342, allocations: 4 kB / 0.8965 GB, free: 13.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003024/0.6372, allocations: 1.197 MB / 0.8976 GB, free: 12.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6373, allocations: 10.97 kB / 0.8976 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6373, allocations: 8 kB / 0.8976 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/0.6382, allocations: 224.6 kB / 0.8979 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.639, allocations: 187.7 kB / 0.898 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008603/0.6399, allocations: 0.7279 MB / 0.8987 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.6415, allocations: 214.6 kB / 0.8989 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.6416, allocations: 39.98 kB / 0.899 GB, free: 10.99 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005467/0.6421, allocations: 353.6 kB / 0.8993 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.6424, allocations: 150.2 kB / 0.8995 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.6447, allocations: 1.144 MB / 0.9006 GB, free: 9.324 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6447, allocations: 3.984 kB / 0.9006 GB, free: 9.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.6448, allocations: 0 / 0.9006 GB, free: 9.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.6452, allocations: 346.9 kB / 0.9009 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.6454, allocations: 12 kB / 0.9009 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.6463, allocations: 75.91 kB / 0.901 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.6464, allocations: 40.45 kB / 0.901 GB, free: 8.832 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002555/0.649, allocations: 0.985 MB / 0.902 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002461/0.6515, allocations: 1.423 MB / 0.9034 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000686/0.6522, allocations: 344.4 kB / 0.9037 GB, free: 6.062 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001733/0.6539, allocations: 1.086 MB / 0.9048 GB, free: 4.98 MB / 0.67 GB Notification: Performance of Backend: time 2.91e-07/0.6539, allocations: 0 / 0.9048 GB, free: 4.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003123/0.657, allocations: 1.07 MB / 0.9058 GB, free: 3.922 MB / 0.67 GB Notification: Performance of SimCode: time 0.005301/0.6624, allocations: 3.165 MB / 0.9089 GB, free: 0.707 MB / 0.67 GB Notification: Performance of Templates: time 0.05434/0.7167, allocations: 33.47 MB / 0.9416 GB, free: 15.62 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)