Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.001077/0.001077, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.2 MB / 423.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 0.5024 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3489, allocations: 80.18 MB / 0.5807 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1231/0.472, allocations: 132.2 MB / 0.7098 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03299/0.5051, allocations: 23.2 MB / 0.7325 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00413/0.5092, allocations: 123.2 kB / 0.7326 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004159/0.5134, allocations: 1.49 MB / 0.7341 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.5246, allocations: 4.092 MB / 0.7381 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.5304, allocations: 2.142 MB / 0.7402 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00975/0.5402, allocations: 6.51 MB / 0.7465 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.5448, allocations: 2.371 MB / 0.7488 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3129/0.8578, allocations: 2.744 MB / 0.7515 GB, free: 47.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/0.8616, allocations: 1.884 MB / 0.7533 GB, free: 47.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009455/0.8626, allocations: 249.9 kB / 0.7536 GB, free: 47.24 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.8683, allocations: 1.937 MB / 0.7555 GB, free: 47.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.8693, allocations: 0.5936 MB / 0.7561 GB, free: 47.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003207/0.8726, allocations: 1.459 MB / 0.7575 GB, free: 47.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007767/0.8803, allocations: 4.338 MB / 0.7617 GB, free: 46.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8804, allocations: 1.469 kB / 0.7617 GB, free: 46.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8804, allocations: 0 / 0.7617 GB, free: 46.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.1e-05/0.8805, allocations: 0.5625 kB / 0.7617 GB, free: 46.6 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007098/0.8876, allocations: 3.185 MB / 0.7648 GB, free: 45.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8876, allocations: 9.969 kB / 0.7648 GB, free: 45.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/0.8926, allocations: 0.8419 MB / 0.7657 GB, free: 44.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004683/0.8973, allocations: 2.217 MB / 0.7678 GB, free: 44.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009543/0.8983, allocations: 291.3 kB / 0.7681 GB, free: 44.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/0.8987, allocations: 161.6 kB / 0.7683 GB, free: 44.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.9027, allocations: 1.938 MB / 0.7702 GB, free: 44.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.9028, allocations: 2.844 kB / 0.7702 GB, free: 44.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.9029, allocations: 60.75 kB / 0.7702 GB, free: 44.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.903, allocations: 39.12 kB / 0.7702 GB, free: 44.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004746/0.9077, allocations: 1.83 MB / 0.772 GB, free: 44.13 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.01278/0.9205, allocations: 9.081 MB / 0.7809 GB, free: 39.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.9247, allocations: 1.196 MB / 0.7821 GB, free: 39.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.9258, allocations: 457.8 kB / 0.7825 GB, free: 39.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/0.9266, allocations: 1.725 MB / 0.7842 GB, free: 37.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.9267, allocations: 41.84 kB / 0.7842 GB, free: 37.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.324e-06/0.9267, allocations: 0 / 0.7842 GB, free: 37.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.00903/0.9357, allocations: 2.349 MB / 0.7865 GB, free: 37.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.9358, allocations: 86.2 kB / 0.7866 GB, free: 37.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004022/0.9398, allocations: 2.538 MB / 0.7891 GB, free: 36.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.94, allocations: 45.52 kB / 0.7891 GB, free: 36.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007114/0.9407, allocations: 1.042 MB / 0.7901 GB, free: 36.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.941, allocations: 273.9 kB / 0.7904 GB, free: 36.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.9414, allocations: 252.4 kB / 0.7907 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.9415, allocations: 346.1 kB / 0.791 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.9433, allocations: 0.5908 MB / 0.7916 GB, free: 36.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.9453, allocations: 0.9658 MB / 0.7925 GB, free: 35.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.9481, allocations: 1.274 MB / 0.7937 GB, free: 35.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9481, allocations: 2.312 kB / 0.7937 GB, free: 35.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006616/0.9548, allocations: 2.049 MB / 0.7957 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.9548, allocations: 17.97 kB / 0.7958 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.9548, allocations: 6.625 kB / 0.7958 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.9566, allocations: 493.1 kB / 0.7962 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.9579, allocations: 292.2 kB / 0.7965 GB, free: 35.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.9598, allocations: 1.51 MB / 0.798 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/0.9632, allocations: 395.6 kB / 0.7984 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.9634, allocations: 59.58 kB / 0.7984 GB, free: 33.86 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008772/0.9642, allocations: 465.3 kB / 0.7989 GB, free: 33.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/0.9648, allocations: 246.6 kB / 0.7991 GB, free: 33.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.9682, allocations: 1.492 MB / 0.8006 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.9683, allocations: 9.906 kB / 0.8006 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9683, allocations: 7.594 kB / 0.8006 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.9683, allocations: 4.266 kB / 0.8006 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007292/0.9756, allocations: 3.613 MB / 0.8041 GB, free: 32.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.9756, allocations: 6.469 kB / 0.8041 GB, free: 32.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.9762, allocations: 127.3 kB / 0.8042 GB, free: 32.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.9779, allocations: 495.5 kB / 0.8047 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.9779, allocations: 34.31 kB / 0.8047 GB, free: 31.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.9802, allocations: 1.581 MB / 0.8063 GB, free: 30.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.9802, allocations: 14.25 kB / 0.8063 GB, free: 30.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/0.9862, allocations: 1.943 MB / 0.8082 GB, free: 29.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.9873, allocations: 487.9 kB / 0.8087 GB, free: 29.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004481/0.9878, allocations: 23.38 kB / 0.8087 GB, free: 29.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.9896, allocations: 146.9 kB / 0.8088 GB, free: 29.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.9897, allocations: 55.12 kB / 0.8089 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.9898, allocations: 48.55 kB / 0.8089 GB, free: 29.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002621/0.9924, allocations: 1.784 MB / 0.8107 GB, free: 29.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9924, allocations: 3.469 kB / 0.8107 GB, free: 29.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002122/0.9946, allocations: 0.6927 MB / 0.8114 GB, free: 29.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.9956, allocations: 0.6089 MB / 0.8119 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00421/0.9999, allocations: 1.403 MB / 0.8133 GB, free: 28.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9999, allocations: 192 / 0.8133 GB, free: 28.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/1.002, allocations: 0.6792 MB / 0.814 GB, free: 27.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006173/1.008, allocations: 1.347 MB / 0.8153 GB, free: 26.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/1.014, allocations: 3.653 MB / 0.8189 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/1.015, allocations: 1.489 MB / 0.8203 GB, free: 21.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/1.015, allocations: 178.6 kB / 0.8205 GB, free: 21.46 MB / 0.5762 GB Notification: Performance of SimCode: time 1.372e-06/1.015, allocations: 0 / 0.8205 GB, free: 21.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.0688/1.084, allocations: 62.54 MB / 0.8816 GB, free: 8.02 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)