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.006239/0.006239, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.001105/0.001105, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8119/0.8119, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 62.59 kB / 0.5856 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1945, allocations: 80.91 MB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06225/0.2568, allocations: 61.15 MB / 0.7243 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.275, allocations: 11.96 MB / 0.736 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.2777, allocations: 59.62 kB / 0.7361 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.2802, allocations: 0.7064 MB / 0.7368 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007334/0.2876, allocations: 2.06 MB / 0.7388 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.2919, allocations: 1.216 MB / 0.74 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005567/0.2975, allocations: 3.083 MB / 0.743 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.2996, allocations: 1.1 MB / 0.7441 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.3034, allocations: 1.374 MB / 0.7454 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.3052, allocations: 0.8887 MB / 0.7463 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.3057, allocations: 116 kB / 0.7464 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.3096, allocations: 1.443 MB / 0.7478 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005486/0.3102, allocations: 290.9 kB / 0.7481 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4391/0.7493, allocations: 0.692 MB / 0.7487 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006648/0.756, allocations: 2.302 MB / 0.751 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7561, allocations: 0.7188 kB / 0.751 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7561, allocations: 0 / 0.751 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.122e-05/0.7561, allocations: 1.031 kB / 0.751 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.005227/0.7614, allocations: 1.735 MB / 0.7527 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7614, allocations: 12.55 kB / 0.7527 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.764, allocations: 409.9 kB / 0.7531 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/0.7679, allocations: 1.161 MB / 0.7542 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.7681, allocations: 63.22 kB / 0.7543 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.7684, allocations: 81.59 kB / 0.7544 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.7715, allocations: 0.9961 MB / 0.7553 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/0.7715, allocations: 3.656 kB / 0.7553 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.7717, allocations: 34.06 kB / 0.7554 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.7718, allocations: 19.92 kB / 0.7554 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.7749, allocations: 0.8449 MB / 0.7562 GB, free: 21.64 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.008708/0.7836, allocations: 5.212 MB / 0.7613 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/0.7872, allocations: 0.7837 MB / 0.7621 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.7881, allocations: 295.2 kB / 0.7623 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.7887, allocations: 0.9083 MB / 0.7632 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.7887, allocations: 36.56 kB / 0.7633 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.7887, allocations: 2.625 kB / 0.7633 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007567/0.7963, allocations: 1.697 MB / 0.7649 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7964, allocations: 56.09 kB / 0.765 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.799, allocations: 1.079 MB / 0.766 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.7991, allocations: 39.64 kB / 0.7661 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.7996, allocations: 0.5327 MB / 0.7666 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.7998, allocations: 149.1 kB / 0.7667 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.8002, allocations: 140.4 kB / 0.7669 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.8002, allocations: 332.5 kB / 0.7672 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008568/0.8011, allocations: 306.9 kB / 0.7675 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.8021, allocations: 0.5275 MB / 0.768 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.8038, allocations: 0.7071 MB / 0.7687 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.8038, allocations: 1.375 kB / 0.7687 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003171/0.807, allocations: 1.01 MB / 0.7697 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.807, allocations: 7 kB / 0.7697 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.8071, allocations: 5.75 kB / 0.7697 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.8084, allocations: 312.1 kB / 0.77 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.809, allocations: 132 kB / 0.7701 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.8106, allocations: 0.8931 MB / 0.771 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.8124, allocations: 156.9 kB / 0.7711 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.8125, allocations: 31.02 kB / 0.7712 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0015/0.814, allocations: 0.5105 MB / 0.7717 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000976/0.815, allocations: 0.523 MB / 0.7722 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001527/0.8165, allocations: 0.7036 MB / 0.7729 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.094e-05/0.8166, allocations: 4.031 kB / 0.7729 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00296/0.8195, allocations: 1.006 MB / 0.7738 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8196, allocations: 8.219 kB / 0.7738 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.8196, allocations: 4.625 kB / 0.7739 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.8207, allocations: 298.1 kB / 0.7741 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.8213, allocations: 126.4 kB / 0.7743 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.8226, allocations: 0.8961 MB / 0.7751 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.8243, allocations: 140.8 kB / 0.7753 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.8244, allocations: 35.06 kB / 0.7753 GB, free: 13.82 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.0003119/0.8247, allocations: 217.8 kB / 0.7755 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/0.8252, allocations: 112.3 kB / 0.7756 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.828, allocations: 0.9182 MB / 0.7765 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.828, allocations: 7.828 kB / 0.7765 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.828, allocations: 0 / 0.7765 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.828, allocations: 3.188 kB / 0.7765 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/0.834, allocations: 2.149 MB / 0.7786 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.8341, allocations: 2.188 kB / 0.7786 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.8343, allocations: 63.94 kB / 0.7787 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009768/0.8353, allocations: 296.3 kB / 0.779 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.8354, allocations: 9.406 kB / 0.779 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.837, allocations: 0.9336 MB / 0.7799 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.837, allocations: 4.281 kB / 0.7799 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.8412, allocations: 1.148 MB / 0.781 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.8422, allocations: 263.6 kB / 0.7813 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/0.8427, allocations: 11.39 kB / 0.7813 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.8438, allocations: 73.3 kB / 0.7813 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.8439, allocations: 36.88 kB / 0.7814 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.844, allocations: 21.78 kB / 0.7814 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001954/0.846, allocations: 0.7631 MB / 0.7821 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.846, allocations: 0 / 0.7821 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002941/0.8489, allocations: 0.5611 MB / 0.7827 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.001346/0.8503, allocations: 386.4 kB / 0.7831 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003856/0.8542, allocations: 1.124 MB / 0.7842 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/0.8542, allocations: 1.375 kB / 0.7842 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.8551, allocations: 338.2 kB / 0.7845 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.002879/0.858, allocations: 0.5144 MB / 0.785 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.8633, allocations: 2.024 MB / 0.787 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.864, allocations: 1.063 MB / 0.788 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001007/0.865, allocations: 227.1 kB / 0.7882 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.8652, allocations: 73.92 kB / 0.7883 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/0.8652, allocations: 0 / 0.7883 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.03965/0.9049, allocations: 25.01 MB / 0.8127 GB, free: 10.76 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)