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.001147/0.001147, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001036/0.001036, allocations: 187 kB / 17.34 MB, free: 5.742 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7965/0.7965, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.16 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1597, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05908/0.2188, allocations: 61.15 MB / 0.72 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.2356, allocations: 11.98 MB / 0.7317 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.2382, allocations: 59.62 kB / 0.7318 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.2404, allocations: 0.6713 MB / 0.7324 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006331/0.2468, allocations: 1.963 MB / 0.7344 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.2503, allocations: 1.204 MB / 0.7355 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004646/0.2549, allocations: 3.087 MB / 0.7386 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.257, allocations: 1.088 MB / 0.7396 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.2607, allocations: 1.37 MB / 0.741 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.2627, allocations: 0.8906 MB / 0.7418 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.2631, allocations: 112 kB / 0.7419 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.2666, allocations: 1.443 MB / 0.7433 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.2671, allocations: 302.8 kB / 0.7436 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.2685, allocations: 0.688 MB / 0.7443 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005429/0.2739, allocations: 2.306 MB / 0.7465 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.274, allocations: 0 / 0.7465 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.176e-06/0.274, allocations: 0 / 0.7465 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.05e-05/0.2741, allocations: 0 / 0.7465 GB, free: 1.637 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.4168/0.6909, allocations: 1.728 MB / 0.7482 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.691, allocations: 10.84 kB / 0.7482 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.6937, allocations: 412.1 kB / 0.7486 GB, free: 86.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.6966, allocations: 1.16 MB / 0.7498 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.6967, allocations: 61.14 kB / 0.7498 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.6969, allocations: 82.09 kB / 0.7499 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.6992, allocations: 0.9958 MB / 0.7509 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.6992, allocations: 9.031 kB / 0.7509 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.6993, allocations: 36.53 kB / 0.7509 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.6994, allocations: 18.88 kB / 0.7509 GB, free: 85.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.7016, allocations: 0.8488 MB / 0.7518 GB, free: 85.45 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.007027/0.7086, allocations: 5.205 MB / 0.7569 GB, free: 81.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/0.7121, allocations: 0.7919 MB / 0.7576 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/0.7129, allocations: 294.5 kB / 0.7579 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/0.7135, allocations: 0.9069 MB / 0.7588 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.7135, allocations: 38.03 kB / 0.7588 GB, free: 80.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.985e-06/0.7135, allocations: 2.312 kB / 0.7588 GB, free: 80.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007483/0.721, allocations: 1.693 MB / 0.7605 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.7211, allocations: 56.12 kB / 0.7605 GB, free: 79.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.7234, allocations: 1.079 MB / 0.7616 GB, free: 79.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.7235, allocations: 34.22 kB / 0.7616 GB, free: 79.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.7239, allocations: 0.5382 MB / 0.7622 GB, free: 78.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.7241, allocations: 151.2 kB / 0.7623 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.7243, allocations: 138.4 kB / 0.7624 GB, free: 78.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.7244, allocations: 327.2 kB / 0.7627 GB, free: 78.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/0.7252, allocations: 310.3 kB / 0.763 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.7263, allocations: 0.5243 MB / 0.7635 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.7279, allocations: 0.7176 MB / 0.7642 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.7279, allocations: 1.719 kB / 0.7643 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002821/0.7308, allocations: 1.011 MB / 0.7652 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.7308, allocations: 8.375 kB / 0.7652 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.7308, allocations: 6.75 kB / 0.7653 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.7322, allocations: 305.2 kB / 0.7655 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.7328, allocations: 132.7 kB / 0.7657 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.7342, allocations: 0.8916 MB / 0.7665 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.7356, allocations: 153.8 kB / 0.7667 GB, free: 76.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.7357, allocations: 35.5 kB / 0.7667 GB, free: 76.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001192/0.7369, allocations: 0.5054 MB / 0.7672 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009505/0.7379, allocations: 0.5281 MB / 0.7677 GB, free: 75.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001606/0.7395, allocations: 0.7054 MB / 0.7684 GB, free: 75.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.894e-06/0.7395, allocations: 1.5 kB / 0.7684 GB, free: 75.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003108/0.7426, allocations: 0.9989 MB / 0.7694 GB, free: 74.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7427, allocations: 11.08 kB / 0.7694 GB, free: 74.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.7427, allocations: 5.375 kB / 0.7694 GB, free: 74.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.7439, allocations: 299.9 kB / 0.7697 GB, free: 74.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.7445, allocations: 133.5 kB / 0.7698 GB, free: 74.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.7458, allocations: 0.8963 MB / 0.7707 GB, free: 74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.7473, allocations: 126.4 kB / 0.7708 GB, free: 73.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.7473, allocations: 34.69 kB / 0.7709 GB, free: 73.96 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.0002922/0.7476, allocations: 225.1 kB / 0.7711 GB, free: 73.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.7479, allocations: 111.9 kB / 0.7712 GB, free: 73.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.7502, allocations: 0.9186 MB / 0.7721 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.7502, allocations: 9.812 kB / 0.7721 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7502, allocations: 0 / 0.7721 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7502, allocations: 5.578 kB / 0.7721 GB, free: 73.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/0.7552, allocations: 2.145 MB / 0.7742 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.7552, allocations: 2.562 kB / 0.7742 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.7555, allocations: 60.92 kB / 0.7742 GB, free: 71.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009337/0.7564, allocations: 295.6 kB / 0.7745 GB, free: 71.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.7565, allocations: 15.14 kB / 0.7745 GB, free: 71.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.7577, allocations: 0.9236 MB / 0.7754 GB, free: 70.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7577, allocations: 7.031 kB / 0.7754 GB, free: 70.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.7611, allocations: 1.141 MB / 0.7766 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/0.7617, allocations: 259.6 kB / 0.7768 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.7619, allocations: 13.7 kB / 0.7768 GB, free: 69.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/0.7627, allocations: 77.97 kB / 0.7769 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.7628, allocations: 37.39 kB / 0.7769 GB, free: 69.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.7628, allocations: 23.11 kB / 0.777 GB, free: 69.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00119/0.764, allocations: 0.7517 MB / 0.7777 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.764, allocations: 1.344 kB / 0.7777 GB, free: 69.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001812/0.7659, allocations: 0.5742 MB / 0.7783 GB, free: 69.3 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.000853/0.7667, allocations: 386.1 kB / 0.7786 GB, free: 69.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003246/0.77, allocations: 1.118 MB / 0.7797 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.77, allocations: 1.188 kB / 0.7797 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/0.7709, allocations: 354.3 kB / 0.7801 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.7731, allocations: 0.5044 MB / 0.7805 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.7781, allocations: 2.052 MB / 0.7825 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.7786, allocations: 1.062 MB / 0.7836 GB, free: 66.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.7789, allocations: 78.25 kB / 0.7837 GB, free: 66.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.7789, allocations: 0 / 0.7837 GB, free: 66.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02809/0.807, allocations: 24.08 MB / 0.8072 GB, free: 43.5 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)