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.001014/0.001014, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007993/0.007994, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 266.9 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9296/0.9296, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004414, allocations: 18.23 kB / 0.5987 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.05297/0.2196, allocations: 59.67 MB / 0.7434 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.236, allocations: 11.91 MB / 0.755 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.2385, allocations: 59.62 kB / 0.7551 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.2402, allocations: 0.5477 MB / 0.7556 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.2455, allocations: 1.807 MB / 0.7574 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.2483, allocations: 1.071 MB / 0.7584 GB, free: 3.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.2999/0.5482, allocations: 3.903 MB / 0.7622 GB, free: 23.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.5501, allocations: 0.8965 MB / 0.7631 GB, free: 23.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.5532, allocations: 1.118 MB / 0.7642 GB, free: 23.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.5553, allocations: 0.8536 MB / 0.765 GB, free: 23.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.5555, allocations: 42.56 kB / 0.7651 GB, free: 23.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.5588, allocations: 1.334 MB / 0.7664 GB, free: 23.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.5591, allocations: 213.3 kB / 0.7666 GB, free: 23.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007984/0.5599, allocations: 0.6317 MB / 0.7672 GB, free: 23.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.563, allocations: 2.188 MB / 0.7693 GB, free: 23.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5631, allocations: 4 kB / 0.7693 GB, free: 23.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5631, allocations: 0 / 0.7693 GB, free: 23.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.718e-05/0.5631, allocations: 0 / 0.7693 GB, free: 23.51 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.00276/0.5659, allocations: 1.489 MB / 0.7708 GB, free: 22.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5659, allocations: 9.938 kB / 0.7708 GB, free: 22.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.5683, allocations: 477.1 kB / 0.7713 GB, free: 22.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.5701, allocations: 1.125 MB / 0.7724 GB, free: 22.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.5705, allocations: 132.8 kB / 0.7725 GB, free: 22.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5706, allocations: 79.22 kB / 0.7726 GB, free: 22.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.5726, allocations: 1.007 MB / 0.7735 GB, free: 21.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5727, allocations: 3.344 kB / 0.7735 GB, free: 21.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.5728, allocations: 28 kB / 0.7736 GB, free: 21.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5728, allocations: 24.53 kB / 0.7736 GB, free: 21.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.5751, allocations: 0.9026 MB / 0.7745 GB, free: 21.96 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.006152/0.5813, allocations: 4.9 MB / 0.7793 GB, free: 19.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.585, allocations: 0.895 MB / 0.7801 GB, free: 19.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007176/0.5857, allocations: 320.5 kB / 0.7804 GB, free: 19.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.5861, allocations: 0.903 MB / 0.7813 GB, free: 18.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.5862, allocations: 39.47 kB / 0.7814 GB, free: 18.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.5862, allocations: 0 / 0.7814 GB, free: 18.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.007383/0.5936, allocations: 1.959 MB / 0.7833 GB, free: 17.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.5936, allocations: 55.34 kB / 0.7833 GB, free: 17.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.595, allocations: 1.059 MB / 0.7844 GB, free: 17.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.5951, allocations: 35.61 kB / 0.7844 GB, free: 17.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.5954, allocations: 0.5249 MB / 0.7849 GB, free: 17.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.5956, allocations: 151.6 kB / 0.7851 GB, free: 17.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.5956, allocations: 43.45 kB / 0.7851 GB, free: 17.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.5957, allocations: 339.2 kB / 0.7854 GB, free: 16.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.5966, allocations: 323 kB / 0.7857 GB, free: 16.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000979/0.5976, allocations: 0.5247 MB / 0.7862 GB, free: 16.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.5993, allocations: 0.7284 MB / 0.787 GB, free: 16.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5993, allocations: 4 kB / 0.787 GB, free: 16.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003874/0.6032, allocations: 1.21 MB / 0.7881 GB, free: 16.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.6033, allocations: 222.9 kB / 0.7884 GB, free: 16.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6033, allocations: 4.375 kB / 0.7884 GB, free: 16.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.6047, allocations: 339.5 kB / 0.7887 GB, free: 16.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.6053, allocations: 129.2 kB / 0.7888 GB, free: 16.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.6068, allocations: 0.9376 MB / 0.7897 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.6083, allocations: 191.1 kB / 0.7899 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.6084, allocations: 36.28 kB / 0.7899 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.6084, allocations: 6.25 kB / 0.7899 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/0.6118, allocations: 1.058 MB / 0.791 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6118, allocations: 5.094 kB / 0.791 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.613, allocations: 327.3 kB / 0.7913 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.6136, allocations: 130.3 kB / 0.7914 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.6151, allocations: 0.9362 MB / 0.7923 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.617, allocations: 175.2 kB / 0.7925 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6171, allocations: 31.89 kB / 0.7925 GB, free: 14.86 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 (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.0009665/0.6181, allocations: 348 kB / 0.7929 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.6184, allocations: 110.1 kB / 0.793 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.6211, allocations: 0.9826 MB / 0.7939 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.6212, allocations: 12.38 kB / 0.7939 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6212, allocations: 0 / 0.7939 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6212, allocations: 4.594 kB / 0.7939 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/0.6266, allocations: 2.257 MB / 0.7961 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.6267, allocations: 6.469 kB / 0.7962 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.627, allocations: 70.67 kB / 0.7962 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.628, allocations: 320.7 kB / 0.7965 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.6281, allocations: 12.58 kB / 0.7965 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.6295, allocations: 0.9745 MB / 0.7975 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6295, allocations: 6.688 kB / 0.7975 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/0.6333, allocations: 1.269 MB / 0.7987 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.6339, allocations: 277.8 kB / 0.799 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.634, allocations: 9.219 kB / 0.799 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.6349, allocations: 119.8 kB / 0.7991 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.635, allocations: 35.45 kB / 0.7992 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.6351, allocations: 21.06 kB / 0.7992 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001132/0.6362, allocations: 0.7519 MB / 0.7999 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6362, allocations: 0 / 0.7999 GB, free: 12.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001611/0.6378, allocations: 0.557 MB / 0.8005 GB, free: 12.79 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 (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.0007038/0.6386, allocations: 385.3 kB / 0.8008 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003111/0.6417, allocations: 1.17 MB / 0.802 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6417, allocations: 4.125 kB / 0.802 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.6426, allocations: 365.6 kB / 0.8023 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.6453, allocations: 0.4991 MB / 0.8028 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.6505, allocations: 2.536 MB / 0.8053 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.651, allocations: 1.062 MB / 0.8063 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000923/0.6519, allocations: 215 kB / 0.8065 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.6521, allocations: 76.92 kB / 0.8066 GB, free: 10.33 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.6521, allocations: 0 / 0.8066 GB, free: 10.33 MB / 0.545 GB Notification: Performance of Templates: time 0.0346/0.6867, allocations: 23.85 MB / 0.8299 GB, free: 10.25 MB / 0.5606 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)