Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001115/0.001115, allocations: 99.28 kB / 16.27 MB, free: 6 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.001142/0.001142, allocations: 187 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 75.89 kB / 0.6721 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2555, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.4376/0.6931, allocations: 61.2 MB / 0.8438 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.7082, allocations: 11.89 MB / 0.8554 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.7113, allocations: 59.84 kB / 0.8555 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.7136, allocations: 0.6801 MB / 0.8561 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006906/0.7206, allocations: 1.954 MB / 0.858 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.7245, allocations: 1.212 MB / 0.8592 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005811/0.7303, allocations: 3.061 MB / 0.8622 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.7325, allocations: 1.102 MB / 0.8633 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.7365, allocations: 1.339 MB / 0.8646 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/0.7387, allocations: 0.9073 MB / 0.8655 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000304/0.739, allocations: 117.4 kB / 0.8656 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.743, allocations: 1.445 MB / 0.867 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.7435, allocations: 293.5 kB / 0.8673 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.7447, allocations: 0.6951 MB / 0.868 GB, free: 9.922 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005302/0.75, allocations: 2.296 MB / 0.8702 GB, free: 8.801 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.7501, allocations: 1.5 kB / 0.8702 GB, free: 8.801 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.22e-06/0.7501, allocations: 0 / 0.8702 GB, free: 8.801 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.716e-05/0.7501, allocations: 3.938 kB / 0.8702 GB, free: 8.797 MB / 0.67 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.003919/0.7541, allocations: 1.738 MB / 0.8719 GB, free: 7.453 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.7541, allocations: 8.562 kB / 0.8719 GB, free: 7.453 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.7566, allocations: 411 kB / 0.8723 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.759, allocations: 1.105 MB / 0.8734 GB, free: 6.371 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.7594, allocations: 122.1 kB / 0.8735 GB, free: 6.316 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.7595, allocations: 79.72 kB / 0.8736 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.7617, allocations: 1.003 MB / 0.8746 GB, free: 5.637 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.7618, allocations: 0.9688 kB / 0.8746 GB, free: 5.637 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.7618, allocations: 35.98 kB / 0.8746 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.7619, allocations: 22.44 kB / 0.8746 GB, free: 5.602 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.7643, allocations: 0.875 MB / 0.8755 GB, free: 5.168 MB / 0.67 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.007528/0.7718, allocations: 4.992 MB / 0.8803 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.7754, allocations: 0.8293 MB / 0.8811 GB, free: 336 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007736/0.7762, allocations: 313.4 kB / 0.8814 GB, free: 184 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007677/0.777, allocations: 0.9074 MB / 0.8823 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.777, allocations: 45.17 kB / 0.8824 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.7771, allocations: 1.406 kB / 0.8824 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007849/0.7849, allocations: 1.807 MB / 0.8841 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.785, allocations: 56.81 kB / 0.8842 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.7867, allocations: 1.08 MB / 0.8853 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.7868, allocations: 39.64 kB / 0.8853 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.7873, allocations: 0.5372 MB / 0.8858 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.7874, allocations: 158.7 kB / 0.886 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.7877, allocations: 145.7 kB / 0.8861 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7878, allocations: 331.5 kB / 0.8864 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009801/0.7888, allocations: 331.4 kB / 0.8867 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.79, allocations: 0.538 MB / 0.8873 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.7919, allocations: 0.7321 MB / 0.888 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.7919, allocations: 5.531 kB / 0.888 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003157/0.795, allocations: 1.048 MB / 0.889 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.7951, allocations: 6.812 kB / 0.889 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.7951, allocations: 5.344 kB / 0.889 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.7964, allocations: 311.5 kB / 0.8893 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.7971, allocations: 137 kB / 0.8894 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.7986, allocations: 0.9233 MB / 0.8903 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.8001, allocations: 160.5 kB / 0.8905 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.8002, allocations: 32.14 kB / 0.8905 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001332/0.8015, allocations: 0.5204 MB / 0.891 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001149/0.8027, allocations: 0.5343 MB / 0.8916 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001752/0.8044, allocations: 0.7228 MB / 0.8923 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.249e-06/0.8044, allocations: 2.375 kB / 0.8923 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003069/0.8075, allocations: 1.049 MB / 0.8933 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.8075, allocations: 10.97 kB / 0.8933 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.8076, allocations: 4.656 kB / 0.8933 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.8087, allocations: 310 kB / 0.8936 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.8093, allocations: 132.1 kB / 0.8937 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.8108, allocations: 0.916 MB / 0.8946 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.8122, allocations: 134.9 kB / 0.8948 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.8123, allocations: 32.75 kB / 0.8948 GB, free: 7.035 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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.000294/0.8126, allocations: 231 kB / 0.895 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.8128, allocations: 111.7 kB / 0.8951 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.8155, allocations: 0.9953 MB / 0.8961 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.8156, allocations: 5.625 kB / 0.8961 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8156, allocations: 0 / 0.8961 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.8156, allocations: 4.953 kB / 0.8961 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006205/0.8218, allocations: 2.354 MB / 0.8984 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.8218, allocations: 6.906 kB / 0.8984 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.8222, allocations: 75.88 kB / 0.8985 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.8232, allocations: 304.9 kB / 0.8988 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.8232, allocations: 19.98 kB / 0.8988 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.8248, allocations: 0.9425 MB / 0.8997 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8248, allocations: 3.938 kB / 0.8997 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/0.8288, allocations: 1.2 MB / 0.9009 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006107/0.8294, allocations: 271.5 kB / 0.9011 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.8296, allocations: 8 kB / 0.9011 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/0.8305, allocations: 75.91 kB / 0.9012 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.8306, allocations: 39.89 kB / 0.9013 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.8307, allocations: 23.98 kB / 0.9013 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001228/0.8319, allocations: 0.7553 MB / 0.902 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8319, allocations: 0 / 0.902 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001759/0.8337, allocations: 0.5693 MB / 0.9026 GB, free: 192 kB / 0.6856 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 (37): * Single equations (assignments): 32 * 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.0008377/0.8345, allocations: 378.1 kB / 0.9029 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003627/0.8382, allocations: 1.219 MB / 0.9041 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.8382, allocations: 4 kB / 0.9041 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009769/0.8392, allocations: 371.4 kB / 0.9045 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.8418, allocations: 0.5353 MB / 0.905 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.8472, allocations: 2.114 MB / 0.9071 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.8479, allocations: 1.062 MB / 0.9081 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.8482, allocations: 91.41 kB / 0.9082 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.8482, allocations: 0 / 0.9082 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of Templates: time 0.03181/0.88, allocations: 24.32 MB / 0.9319 GB, free: 2.332 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)