Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001292/0.001292, allocations: 107.6 kB / 16.37 MB, free: 6.348 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.001255/0.001255, allocations: 192.4 kB / 17.31 MB, free: 5.891 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7553/0.7553, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 62.88 kB / 0.5862 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1433, allocations: 80.92 MB / 0.6652 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05266/0.196, allocations: 61.15 MB / 0.7249 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2114, allocations: 11.97 MB / 0.7366 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.2133, allocations: 59.62 kB / 0.7367 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.215, allocations: 0.683 MB / 0.7374 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.2199, allocations: 1.959 MB / 0.7393 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.2226, allocations: 1.212 MB / 0.7405 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003543/0.2261, allocations: 3.086 MB / 0.7435 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.2274, allocations: 1.088 MB / 0.7445 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.2299, allocations: 1.336 MB / 0.7458 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.231, allocations: 0.8984 MB / 0.7467 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.2311, allocations: 112 kB / 0.7468 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.2336, allocations: 1.439 MB / 0.7482 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.2339, allocations: 298.8 kB / 0.7485 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3135/0.5474, allocations: 0.6891 MB / 0.7492 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.5514, allocations: 2.295 MB / 0.7514 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5514, allocations: 0 / 0.7514 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5514, allocations: 0 / 0.7514 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.5515, allocations: 1.125 kB / 0.7514 GB, free: 23.15 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.002913/0.5544, allocations: 1.736 MB / 0.7531 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5544, allocations: 12.64 kB / 0.7531 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.5566, allocations: 408.9 kB / 0.7535 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.5586, allocations: 1.165 MB / 0.7547 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.5586, allocations: 62.5 kB / 0.7547 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.5587, allocations: 77.22 kB / 0.7548 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.5607, allocations: 0.9979 MB / 0.7558 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.5608, allocations: 1.562 kB / 0.7558 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/0.5608, allocations: 32.59 kB / 0.7558 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.5609, allocations: 19.34 kB / 0.7558 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.5631, allocations: 0.8511 MB / 0.7566 GB, free: 21.63 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.006112/0.5693, allocations: 5.207 MB / 0.7617 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/0.5729, allocations: 0.7865 MB / 0.7625 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/0.5737, allocations: 298.5 kB / 0.7628 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.5742, allocations: 0.9025 MB / 0.7637 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5742, allocations: 37.64 kB / 0.7637 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.5743, allocations: 0 / 0.7637 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00714/0.5814, allocations: 1.695 MB / 0.7654 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.5814, allocations: 56.59 kB / 0.7654 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.5831, allocations: 1.086 MB / 0.7665 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.5831, allocations: 36.42 kB / 0.7665 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.5835, allocations: 0.5348 MB / 0.767 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.5836, allocations: 143.2 kB / 0.7672 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5838, allocations: 142 kB / 0.7673 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.5839, allocations: 327.5 kB / 0.7676 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/0.5847, allocations: 311.1 kB / 0.7679 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/0.5857, allocations: 0.5236 MB / 0.7684 GB, free: 16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.5872, allocations: 0.7152 MB / 0.7691 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5873, allocations: 1.438 kB / 0.7691 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002652/0.5899, allocations: 0.9994 MB / 0.7701 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.59, allocations: 10.97 kB / 0.7701 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.59, allocations: 5.562 kB / 0.7701 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.5912, allocations: 306.1 kB / 0.7704 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.5917, allocations: 126.2 kB / 0.7705 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.593, allocations: 0.9018 MB / 0.7714 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.5942, allocations: 157.2 kB / 0.7716 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.5943, allocations: 36.16 kB / 0.7716 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001153/0.5955, allocations: 0.5065 MB / 0.7721 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009225/0.5964, allocations: 0.5228 MB / 0.7726 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.5979, allocations: 0.705 MB / 0.7733 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.5979, allocations: 5.406 kB / 0.7733 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002425/0.6003, allocations: 1.006 MB / 0.7743 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6003, allocations: 10.16 kB / 0.7743 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.6003, allocations: 5.531 kB / 0.7743 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/0.6013, allocations: 297.9 kB / 0.7746 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.6019, allocations: 126.1 kB / 0.7747 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.603, allocations: 0.8988 MB / 0.7756 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.6043, allocations: 137.3 kB / 0.7757 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.6044, allocations: 29.08 kB / 0.7757 GB, free: 13.81 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.0002265/0.6046, allocations: 227.5 kB / 0.7759 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.6048, allocations: 109.7 kB / 0.776 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.607, allocations: 0.9164 MB / 0.7769 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.6071, allocations: 13.16 kB / 0.777 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.6071, allocations: 1.094 kB / 0.777 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6071, allocations: 4.125 kB / 0.777 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/0.6118, allocations: 2.15 MB / 0.7791 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.6118, allocations: 3.031 kB / 0.7791 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.6121, allocations: 56.88 kB / 0.7791 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.6131, allocations: 299.2 kB / 0.7794 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.6132, allocations: 17.42 kB / 0.7794 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.6145, allocations: 0.9238 MB / 0.7803 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6146, allocations: 3.281 kB / 0.7803 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.6178, allocations: 1.142 MB / 0.7814 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.6183, allocations: 268.3 kB / 0.7817 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.6184, allocations: 13.06 kB / 0.7817 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.6192, allocations: 73.05 kB / 0.7818 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.6193, allocations: 42.91 kB / 0.7818 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.6193, allocations: 20.05 kB / 0.7818 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001154/0.6205, allocations: 0.7555 MB / 0.7826 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6205, allocations: 3.375 kB / 0.7826 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001697/0.6222, allocations: 0.5591 MB / 0.7831 GB, free: 11.83 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.0007129/0.6229, allocations: 379.5 kB / 0.7835 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.6258, allocations: 1.122 MB / 0.7846 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.6258, allocations: 4.656 kB / 0.7846 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007847/0.6266, allocations: 337.9 kB / 0.7849 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.6286, allocations: 0.516 MB / 0.7854 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.6338, allocations: 2.063 MB / 0.7874 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.6344, allocations: 1.058 MB / 0.7885 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.6347, allocations: 82.5 kB / 0.7885 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.753e-06/0.6348, allocations: 1.75 kB / 0.7885 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.02498/0.6597, allocations: 23.97 MB / 0.8119 GB, free: 12.06 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)