Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 108.9 kB / 16.38 MB, free: 6.426 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.001325/0.001326, allocations: 192.9 kB / 17.32 MB, free: 5.75 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7975/0.7975, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.52 kB / 0.5819 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.163, allocations: 80.2 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06372/0.2268, allocations: 61.16 MB / 0.72 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.2452, allocations: 11.97 MB / 0.7317 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003346/0.2486, allocations: 59.62 kB / 0.7317 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.2509, allocations: 0.6752 MB / 0.7324 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006045/0.257, allocations: 1.963 MB / 0.7343 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.2607, allocations: 1.211 MB / 0.7355 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005403/0.2662, allocations: 3.074 MB / 0.7385 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.2684, allocations: 1.096 MB / 0.7396 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.2722, allocations: 1.334 MB / 0.7409 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.2742, allocations: 0.8945 MB / 0.7417 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002871/0.2745, allocations: 112 kB / 0.7419 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.278, allocations: 1.45 MB / 0.7433 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.2784, allocations: 294.8 kB / 0.7436 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.2795, allocations: 0.6842 MB / 0.7442 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.2843, allocations: 2.31 MB / 0.7465 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2843, allocations: 0 / 0.7465 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2843, allocations: 0 / 0.7465 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.2844, allocations: 0 / 0.7465 GB, free: 1.723 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.359/0.6434, allocations: 1.723 MB / 0.7482 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6435, allocations: 10.16 kB / 0.7482 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.6461, allocations: 411.4 kB / 0.7486 GB, free: 86.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.6486, allocations: 1.157 MB / 0.7497 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.6487, allocations: 66.97 kB / 0.7498 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.6489, allocations: 82.38 kB / 0.7498 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.6511, allocations: 0.9945 MB / 0.7508 GB, free: 85.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.6511, allocations: 5.281 kB / 0.7508 GB, free: 85.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.6512, allocations: 35.47 kB / 0.7508 GB, free: 85.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.6512, allocations: 20.38 kB / 0.7509 GB, free: 85.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.6535, allocations: 0.8469 MB / 0.7517 GB, free: 85.51 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.006236/0.6597, allocations: 5.217 MB / 0.7568 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/0.6633, allocations: 0.7845 MB / 0.7575 GB, free: 81.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.6641, allocations: 292.4 kB / 0.7578 GB, free: 81.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/0.6646, allocations: 0.9086 MB / 0.7587 GB, free: 80.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.6647, allocations: 37.55 kB / 0.7588 GB, free: 80.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 8.035e-06/0.6647, allocations: 3.219 kB / 0.7588 GB, free: 80.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007698/0.6724, allocations: 1.692 MB / 0.7604 GB, free: 79.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.6725, allocations: 57.77 kB / 0.7605 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.6745, allocations: 1.076 MB / 0.7615 GB, free: 79.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.6746, allocations: 37.98 kB / 0.7615 GB, free: 79.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.675, allocations: 0.5349 MB / 0.7621 GB, free: 78.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6751, allocations: 151.5 kB / 0.7622 GB, free: 78.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.6753, allocations: 140.3 kB / 0.7623 GB, free: 78.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.6754, allocations: 325.7 kB / 0.7627 GB, free: 78.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008675/0.6763, allocations: 309.3 kB / 0.763 GB, free: 78.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.6773, allocations: 0.5257 MB / 0.7635 GB, free: 77.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.679, allocations: 0.7147 MB / 0.7642 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.679, allocations: 1.406 kB / 0.7642 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002734/0.6817, allocations: 1.012 MB / 0.7652 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6818, allocations: 7.75 kB / 0.7652 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6818, allocations: 9.281 kB / 0.7652 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.683, allocations: 308 kB / 0.7655 GB, free: 76.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.6836, allocations: 131.1 kB / 0.7656 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.6849, allocations: 0.8964 MB / 0.7665 GB, free: 76.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.6862, allocations: 150.2 kB / 0.7666 GB, free: 76.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/0.6863, allocations: 34.17 kB / 0.7666 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.6875, allocations: 0.5084 MB / 0.7671 GB, free: 75.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009766/0.6885, allocations: 0.5271 MB / 0.7677 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001648/0.6901, allocations: 0.7018 MB / 0.7683 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.6901, allocations: 1.75 kB / 0.7683 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00266/0.6928, allocations: 1.009 MB / 0.7693 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6928, allocations: 8.031 kB / 0.7693 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6928, allocations: 8.297 kB / 0.7693 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.6939, allocations: 299.4 kB / 0.7696 GB, free: 74.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.6944, allocations: 126.6 kB / 0.7697 GB, free: 74.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.6957, allocations: 0.8949 MB / 0.7706 GB, free: 74.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.6969, allocations: 133.7 kB / 0.7707 GB, free: 74.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.697, allocations: 30.73 kB / 0.7708 GB, free: 74.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002264/0.6972, allocations: 224.4 kB / 0.771 GB, free: 73.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.6974, allocations: 112.5 kB / 0.7711 GB, free: 73.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.6997, allocations: 0.9158 MB / 0.772 GB, free: 73.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.6997, allocations: 9.891 kB / 0.772 GB, free: 73.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6997, allocations: 0 / 0.772 GB, free: 73.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.6997, allocations: 0.5469 kB / 0.772 GB, free: 73.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/0.7044, allocations: 2.149 MB / 0.7741 GB, free: 71.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.7044, allocations: 4.297 kB / 0.7741 GB, free: 71.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.7047, allocations: 62.44 kB / 0.7742 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.7057, allocations: 296.9 kB / 0.7744 GB, free: 71.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.7057, allocations: 13.61 kB / 0.7745 GB, free: 71.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.707, allocations: 0.926 MB / 0.7754 GB, free: 70.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.707, allocations: 13.02 kB / 0.7754 GB, free: 70.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.7105, allocations: 1.136 MB / 0.7765 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.7109, allocations: 260.9 kB / 0.7767 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.711, allocations: 20.75 kB / 0.7768 GB, free: 69.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/0.7118, allocations: 69.06 kB / 0.7768 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.7119, allocations: 37.44 kB / 0.7769 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.712, allocations: 23.11 kB / 0.7769 GB, free: 69.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001022/0.713, allocations: 0.7607 MB / 0.7776 GB, free: 69.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7131, allocations: 0 / 0.7776 GB, free: 69.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001583/0.7146, allocations: 0.5732 MB / 0.7782 GB, free: 69.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007352/0.7154, allocations: 374.5 kB / 0.7785 GB, free: 69.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003046/0.7184, allocations: 1.116 MB / 0.7796 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7185, allocations: 5.406 kB / 0.7796 GB, free: 68.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008051/0.7193, allocations: 351.3 kB / 0.78 GB, free: 68.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.7215, allocations: 0.5057 MB / 0.7805 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.7262, allocations: 2.051 MB / 0.7825 GB, free: 67.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.7266, allocations: 1.066 MB / 0.7835 GB, free: 66.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.7269, allocations: 74.77 kB / 0.7836 GB, free: 66.14 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/0.7269, allocations: 3.938 kB / 0.7836 GB, free: 66.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.0229/0.7498, allocations: 23.97 MB / 0.807 GB, free: 43.67 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)