Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000804/0.0008038, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009991/0.0009992, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 281.6 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9556/0.9556, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 15.38 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2074, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.04988/0.2574, allocations: 56.43 MB / 0.7396 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.2726, allocations: 11.22 MB / 0.7505 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.2747, allocations: 55.62 kB / 0.7506 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.2763, allocations: 464.9 kB / 0.751 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.2811, allocations: 1.527 MB / 0.7525 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.2844, allocations: 0.8586 MB / 0.7534 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00448/0.2888, allocations: 3.39 MB / 0.7567 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.2901, allocations: 0.786 MB / 0.7574 GB, free: 4.566 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.293, allocations: 1.034 MB / 0.7585 GB, free: 3.527 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.295, allocations: 0.8049 MB / 0.7592 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.2951, allocations: 40 kB / 0.7593 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.2983, allocations: 1.099 MB / 0.7604 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.2985, allocations: 203 kB / 0.7606 GB, free: 1.379 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.299, allocations: 277.1 kB / 0.7608 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3147/0.6137, allocations: 1.631 MB / 0.7624 GB, free: 28.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6138, allocations: 0.5938 kB / 0.7624 GB, free: 28.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6138, allocations: 0.5625 kB / 0.7624 GB, free: 28.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.12e-05/0.6139, allocations: 3.688 kB / 0.7624 GB, free: 28.23 MB / 0.545 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.004369/0.6182, allocations: 1.496 MB / 0.7639 GB, free: 27.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/0.6183, allocations: 9.031 kB / 0.7639 GB, free: 27.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.6217, allocations: 474.5 kB / 0.7643 GB, free: 27.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.625, allocations: 1.089 MB / 0.7654 GB, free: 27.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005516/0.6256, allocations: 130.4 kB / 0.7655 GB, free: 27.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.6258, allocations: 79.66 kB / 0.7656 GB, free: 27.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003609/0.6294, allocations: 1.004 MB / 0.7666 GB, free: 26.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.6295, allocations: 6.281 kB / 0.7666 GB, free: 26.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.6296, allocations: 32.06 kB / 0.7666 GB, free: 26.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.6296, allocations: 19.28 kB / 0.7666 GB, free: 26.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/0.633, allocations: 0.9039 MB / 0.7675 GB, free: 26.85 MB / 0.545 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.008942/0.642, allocations: 4.883 MB / 0.7723 GB, free: 24.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004856/0.6469, allocations: 0.9026 MB / 0.7732 GB, free: 24.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.6479, allocations: 322.7 kB / 0.7735 GB, free: 24.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/0.6485, allocations: 0.9047 MB / 0.7744 GB, free: 23.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6485, allocations: 40.25 kB / 0.7744 GB, free: 23.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.6485, allocations: 2.969 kB / 0.7744 GB, free: 23.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.006692/0.6552, allocations: 1.938 MB / 0.7763 GB, free: 22.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.6553, allocations: 59.11 kB / 0.7763 GB, free: 22.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.657, allocations: 1.048 MB / 0.7774 GB, free: 22.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.657, allocations: 35.14 kB / 0.7774 GB, free: 22.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.6575, allocations: 0.5271 MB / 0.7779 GB, free: 22.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.6576, allocations: 153.3 kB / 0.7781 GB, free: 22.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.6576, allocations: 13.8 kB / 0.7781 GB, free: 22.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.6577, allocations: 324.4 kB / 0.7784 GB, free: 21.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008085/0.6585, allocations: 320.7 kB / 0.7787 GB, free: 21.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.6595, allocations: 0.5193 MB / 0.7792 GB, free: 21.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/0.6603, allocations: 360.2 kB / 0.7795 GB, free: 21.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6603, allocations: 3.5 kB / 0.7795 GB, free: 21.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003092/0.6634, allocations: 1.207 MB / 0.7807 GB, free: 21.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6635, allocations: 214.8 kB / 0.7809 GB, free: 21.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6635, allocations: 4.156 kB / 0.7809 GB, free: 21.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.6647, allocations: 340.7 kB / 0.7813 GB, free: 21.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.6652, allocations: 130.9 kB / 0.7814 GB, free: 21.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.6664, allocations: 0.9376 MB / 0.7823 GB, free: 20.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.6677, allocations: 191.7 kB / 0.7825 GB, free: 20.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.978e-05/0.6677, allocations: 29.53 kB / 0.7825 GB, free: 20.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.6678, allocations: 1.531 kB / 0.7825 GB, free: 20.63 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002778/0.6705, allocations: 1.077 MB / 0.7836 GB, free: 20.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6706, allocations: 7.562 kB / 0.7836 GB, free: 20.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000901/0.6715, allocations: 318.3 kB / 0.7839 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.672, allocations: 127 kB / 0.784 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.6731, allocations: 0.9444 MB / 0.7849 GB, free: 20 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.6741, allocations: 168.5 kB / 0.7851 GB, free: 19.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.6742, allocations: 35.58 kB / 0.7851 GB, free: 19.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004723/0.6747, allocations: 345.7 kB / 0.7854 GB, free: 19.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.6748, allocations: 115.8 kB / 0.7856 GB, free: 19.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.6769, allocations: 0.978 MB / 0.7865 GB, free: 19.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.6769, allocations: 8.609 kB / 0.7865 GB, free: 19.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6769, allocations: 4.438 kB / 0.7865 GB, free: 19.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.677, allocations: 0 / 0.7865 GB, free: 19.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.6818, allocations: 2.26 MB / 0.7887 GB, free: 19.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6818, allocations: 5.281 kB / 0.7887 GB, free: 19.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.6821, allocations: 72.89 kB / 0.7888 GB, free: 19.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009022/0.683, allocations: 328 kB / 0.7891 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.6831, allocations: 12.5 kB / 0.7891 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.6843, allocations: 0.9686 MB / 0.7901 GB, free: 18.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6843, allocations: 2.25 kB / 0.7901 GB, free: 18.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/0.6875, allocations: 1.252 MB / 0.7913 GB, free: 18.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.688, allocations: 283.6 kB / 0.7916 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.6881, allocations: 11.73 kB / 0.7916 GB, free: 18.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.6889, allocations: 113.1 kB / 0.7917 GB, free: 18.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.689, allocations: 35.83 kB / 0.7917 GB, free: 18.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.6891, allocations: 24.03 kB / 0.7917 GB, free: 18.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00114/0.6902, allocations: 0.7371 MB / 0.7925 GB, free: 17.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6902, allocations: 0 / 0.7925 GB, free: 17.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001703/0.6919, allocations: 0.5558 MB / 0.793 GB, free: 17.9 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006849/0.6926, allocations: 368.4 kB / 0.7934 GB, free: 17.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00283/0.6955, allocations: 1.162 MB / 0.7945 GB, free: 17.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.6955, allocations: 4.125 kB / 0.7945 GB, free: 17.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.6963, allocations: 357.2 kB / 0.7948 GB, free: 17.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.6984, allocations: 0.5075 MB / 0.7953 GB, free: 17.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.7031, allocations: 2.501 MB / 0.7978 GB, free: 16.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.7036, allocations: 1.057 MB / 0.7988 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008839/0.7045, allocations: 215.8 kB / 0.799 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.7047, allocations: 82.97 kB / 0.7991 GB, free: 15.77 MB / 0.545 GB Notification: Performance of SimCode: time 6.32e-07/0.7047, allocations: 0 / 0.7991 GB, free: 15.77 MB / 0.545 GB Notification: Performance of Templates: time 0.03539/0.7401, allocations: 22.95 MB / 0.8215 GB, free: 4.707 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)