Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001578/0.001578, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.00178/0.00178, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7906/0.7906, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.02 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1391, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0681/0.2073, allocations: 70.44 MB / 0.7291 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.2306, allocations: 18.9 MB / 0.7476 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.233, allocations: 71.56 kB / 0.7477 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3329/0.566, allocations: 0.834 MB / 0.7485 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007631/0.5736, allocations: 3.004 MB / 0.7514 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.5773, allocations: 1.661 MB / 0.753 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005668/0.583, allocations: 4.051 MB / 0.757 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.5853, allocations: 1.452 MB / 0.7584 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.5899, allocations: 1.819 MB / 0.7602 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.5927, allocations: 1.181 MB / 0.7613 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.593, allocations: 174.8 kB / 0.7615 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.5964, allocations: 1.413 MB / 0.7629 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.5968, allocations: 386.2 kB / 0.7632 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.5979, allocations: 0.9196 MB / 0.7641 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.6026, allocations: 3.135 MB / 0.7672 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6026, allocations: 0 / 0.7672 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6026, allocations: 0.7812 kB / 0.7672 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.6026, allocations: 0 / 0.7672 GB, free: 16.88 MB / 0.5762 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.003856/0.6065, allocations: 2.083 MB / 0.7692 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6065, allocations: 9.844 kB / 0.7692 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.6088, allocations: 457.1 kB / 0.7697 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.6114, allocations: 1.562 MB / 0.7712 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.6116, allocations: 89.86 kB / 0.7713 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.6117, allocations: 101.6 kB / 0.7714 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.6147, allocations: 1.31 MB / 0.7727 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.6148, allocations: 4.406 kB / 0.7727 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.6149, allocations: 44.38 kB / 0.7727 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.615, allocations: 26.75 kB / 0.7727 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/0.6188, allocations: 1.104 MB / 0.7738 GB, free: 14.94 MB / 0.5762 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.01194/0.6307, allocations: 7.51 MB / 0.7812 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004502/0.6352, allocations: 0.8071 MB / 0.7819 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009003/0.6362, allocations: 287.7 kB / 0.7822 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.6374, allocations: 1.72 MB / 0.7839 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.6375, allocations: 37.31 kB / 0.7839 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.466e-06/0.6375, allocations: 0 / 0.7839 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.008402/0.6459, allocations: 1.347 MB / 0.7852 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.6459, allocations: 57.38 kB / 0.7853 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/0.6506, allocations: 1.55 MB / 0.7868 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.6508, allocations: 35.92 kB / 0.7868 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/0.6516, allocations: 0.6846 MB / 0.7875 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.6519, allocations: 180.8 kB / 0.7877 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005099/0.6524, allocations: 170.4 kB / 0.7879 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.6525, allocations: 334.6 kB / 0.7882 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.6542, allocations: 362.9 kB / 0.7885 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.6564, allocations: 0.6646 MB / 0.7892 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/0.6596, allocations: 0.8812 MB / 0.79 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.6596, allocations: 3 kB / 0.79 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005351/0.665, allocations: 1.202 MB / 0.7912 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.665, allocations: 14.12 kB / 0.7912 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.6651, allocations: 7.406 kB / 0.7912 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.6667, allocations: 225 kB / 0.7914 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.6681, allocations: 188.8 kB / 0.7916 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.6694, allocations: 0.7191 MB / 0.7923 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/0.6725, allocations: 219.6 kB / 0.7925 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.6727, allocations: 43.03 kB / 0.7926 GB, free: 4.625 MB / 0.5762 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.001067/0.6737, allocations: 358.4 kB / 0.7929 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.6744, allocations: 154.1 kB / 0.7931 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.6787, allocations: 1.143 MB / 0.7942 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.6788, allocations: 7.328 kB / 0.7942 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6788, allocations: 0 / 0.7942 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.68, allocations: 360.8 kB / 0.7945 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005797/0.6806, allocations: 14.91 kB / 0.7945 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/0.6826, allocations: 70.38 kB / 0.7946 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6827, allocations: 43.16 kB / 0.7946 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004439/0.6872, allocations: 0.9752 MB / 0.7956 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004422/0.6916, allocations: 1.438 MB / 0.797 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001187/0.6928, allocations: 342.4 kB / 0.7973 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00347/0.6963, allocations: 1.086 MB / 0.7984 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of Backend: time 8.12e-07/0.6963, allocations: 2.406 kB / 0.7984 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006118/0.7025, allocations: 1.079 MB / 0.7994 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01047/0.713, allocations: 3.214 MB / 0.8026 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.08634/0.7993, allocations: 33.43 MB / 0.8352 GB, free: 1.645 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)