Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 110.3 kB / 16.65 MB, free: 6.367 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.001674/0.001674, allocations: 196.5 kB / 17.57 MB, free: 5.809 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.36/1.36, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.743/0.743, allocations: 122.9 MB / 414.2 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.89 kB / 0.4912 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3704, allocations: 77.91 MB / 0.5673 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06342/0.4339, allocations: 74.48 MB / 0.64 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01756/0.4515, allocations: 12.68 MB / 0.6524 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.4544, allocations: 59.62 kB / 0.6525 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.4568, allocations: 0.715 MB / 0.6532 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007547/0.4644, allocations: 2.287 MB / 0.6554 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.468, allocations: 1.298 MB / 0.6567 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006093/0.4741, allocations: 4.408 MB / 0.661 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.4763, allocations: 1.431 MB / 0.6624 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.4804, allocations: 1.632 MB / 0.664 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.4823, allocations: 1.237 MB / 0.6652 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.4826, allocations: 160 kB / 0.6653 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.4856, allocations: 1.419 MB / 0.6667 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.486, allocations: 394.6 kB / 0.6671 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.4871, allocations: 0.906 MB / 0.668 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.4901, allocations: 2.234 MB / 0.6702 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4901, allocations: 4 kB / 0.6702 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4901, allocations: 0 / 0.6702 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.685e-05/0.4901, allocations: 0 / 0.6702 GB, free: 1.578 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003801/0.4939, allocations: 2.072 MB / 0.6722 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.494, allocations: 12.62 kB / 0.6722 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.4948, allocations: 230.8 kB / 0.6724 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.4971, allocations: 1.493 MB / 0.6739 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.4972, allocations: 81.98 kB / 0.674 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.4973, allocations: 100 kB / 0.6741 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.4993, allocations: 1.1 MB / 0.6751 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.4993, allocations: 7.844 kB / 0.6751 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.4994, allocations: 40 kB / 0.6752 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.4995, allocations: 28 kB / 0.6752 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.5013, allocations: 0.89 MB / 0.6761 GB, free: 11.37 MB / 0.5137 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.005984/0.5072, allocations: 4.901 MB / 0.6809 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.5086, allocations: 0.6159 MB / 0.6815 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.5093, allocations: 346.3 kB / 0.6818 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/0.5099, allocations: 0.8316 MB / 0.6826 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.51, allocations: 39.12 kB / 0.6826 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.927e-06/0.51, allocations: 3.984 kB / 0.6826 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006931/0.5169, allocations: 1.681 MB / 0.6843 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.517, allocations: 59.97 kB / 0.6843 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.5189, allocations: 1.21 MB / 0.6855 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.519, allocations: 41.7 kB / 0.6856 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.5195, allocations: 0.5986 MB / 0.6862 GB, free: 500 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.5197, allocations: 216.9 kB / 0.6864 GB, free: 280 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.52, allocations: 158.5 kB / 0.6865 GB, free: 112 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5201, allocations: 334 kB / 0.6868 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/0.5208, allocations: 296.7 kB / 0.6871 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.5216, allocations: 491.8 kB / 0.6876 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.5229, allocations: 0.7012 MB / 0.6883 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.5229, allocations: 7.984 kB / 0.6883 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004639/0.5276, allocations: 1.273 MB / 0.6895 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.5276, allocations: 8 kB / 0.6895 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5276, allocations: 4 kB / 0.6895 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.5282, allocations: 133.1 kB / 0.6897 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.5289, allocations: 171.7 kB / 0.6898 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008109/0.5297, allocations: 0.6889 MB / 0.6905 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.531, allocations: 155 kB / 0.6906 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.5311, allocations: 35.98 kB / 0.6907 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/0.5322, allocations: 0.5535 MB / 0.6912 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008295/0.533, allocations: 491.8 kB / 0.6917 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001365/0.5344, allocations: 0.6973 MB / 0.6924 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.5344, allocations: 0 / 0.6924 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004725/0.5392, allocations: 1.269 MB / 0.6936 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5392, allocations: 8 kB / 0.6936 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5392, allocations: 4 kB / 0.6936 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005178/0.5397, allocations: 137.1 kB / 0.6937 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.5404, allocations: 155.8 kB / 0.6939 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007967/0.5412, allocations: 0.7044 MB / 0.6946 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.5425, allocations: 131.5 kB / 0.6947 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.5426, allocations: 31.98 kB / 0.6947 GB, free: 7.344 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.5429, allocations: 224.1 kB / 0.695 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.5433, allocations: 138.3 kB / 0.6951 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.5479, allocations: 1.264 MB / 0.6963 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.548, allocations: 4 kB / 0.6963 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.548, allocations: 0 / 0.6963 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004047/0.552, allocations: 1.096 MB / 0.6974 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006888/0.5589, allocations: 2.618 MB / 0.6999 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.559, allocations: 4 kB / 0.7 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.5595, allocations: 115.8 kB / 0.7001 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.56, allocations: 133 kB / 0.7002 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.5601, allocations: 19.94 kB / 0.7002 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.5649, allocations: 2.587 MB / 0.7027 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.5649, allocations: 7.938 kB / 0.7027 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/0.5701, allocations: 1.691 MB / 0.7044 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007534/0.5709, allocations: 311.1 kB / 0.7047 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.5712, allocations: 24.05 kB / 0.7047 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.5723, allocations: 71.92 kB / 0.7048 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5724, allocations: 68.22 kB / 0.7048 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.5725, allocations: 31.98 kB / 0.7049 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001637/0.5742, allocations: 0.866 MB / 0.7057 GB, free: 11.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5742, allocations: 4 kB / 0.7057 GB, free: 11.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002871/0.5771, allocations: 0.7096 MB / 0.7064 GB, free: 10.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.5782, allocations: 456.5 kB / 0.7069 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002894/0.5811, allocations: 1.149 MB / 0.708 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5811, allocations: 0 / 0.708 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.5826, allocations: 0.5643 MB / 0.7085 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/0.5865, allocations: 0.8028 MB / 0.7093 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.5909, allocations: 2.785 MB / 0.712 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.5917, allocations: 1.164 MB / 0.7132 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.5921, allocations: 111.4 kB / 0.7133 GB, free: 3.875 MB / 0.545 GB Notification: Performance of SimCode: time 2.044e-06/0.5921, allocations: 4 kB / 0.7133 GB, free: 3.871 MB / 0.545 GB Notification: Performance of Templates: time 0.04508/0.6372, allocations: 30.86 MB / 0.7434 GB, free: 5.199 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)