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.001867/0.001867, allocations: 110 kB / 15.99 MB, free: 6.352 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.002349/0.002349, allocations: 191.1 kB / 16.91 MB, free: 6.195 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7703/0.7703, allocations: 122.9 MB / 413.6 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.4906 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3706, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06239/0.433, allocations: 74.48 MB / 0.6394 GB, free: 372 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.4515, allocations: 12.66 MB / 0.6518 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.4538, allocations: 63.62 kB / 0.6518 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.4562, allocations: 0.7112 MB / 0.6525 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006256/0.4625, allocations: 2.29 MB / 0.6548 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.4657, allocations: 1.292 MB / 0.656 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005318/0.471, allocations: 4.411 MB / 0.6603 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.4729, allocations: 1.427 MB / 0.6617 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.4764, allocations: 1.644 MB / 0.6633 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.478, allocations: 1.233 MB / 0.6645 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.4782, allocations: 160 kB / 0.6647 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.4809, allocations: 1.415 MB / 0.6661 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.4813, allocations: 402.6 kB / 0.6665 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009221/0.4822, allocations: 0.9099 MB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.4856, allocations: 2.844 MB / 0.6701 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4857, allocations: 0 / 0.6701 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4857, allocations: 3.938 kB / 0.6701 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.839e-05/0.4857, allocations: 0 / 0.6701 GB, free: 0.8086 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.003633/0.4893, allocations: 2.075 MB / 0.6722 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4894, allocations: 12.62 kB / 0.6722 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.4902, allocations: 226.8 kB / 0.6724 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.4925, allocations: 1.485 MB / 0.6738 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.4926, allocations: 82 kB / 0.6739 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.4928, allocations: 104 kB / 0.674 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4948, allocations: 1.1 MB / 0.6751 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.4948, allocations: 3.906 kB / 0.6751 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.4949, allocations: 36 kB / 0.6751 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.495, allocations: 31.94 kB / 0.6752 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.4969, allocations: 0.89 MB / 0.676 GB, free: 10.61 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.005974/0.5029, allocations: 4.897 MB / 0.6808 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.5043, allocations: 0.6197 MB / 0.6814 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/0.505, allocations: 355.4 kB / 0.6818 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/0.5056, allocations: 0.8238 MB / 0.6826 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5057, allocations: 39.12 kB / 0.6826 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.857e-06/0.5057, allocations: 4 kB / 0.6826 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007758/0.5134, allocations: 1.681 MB / 0.6842 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.5135, allocations: 55.97 kB / 0.6843 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.5155, allocations: 1.214 MB / 0.6855 GB, free: 392 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.5157, allocations: 37.7 kB / 0.6855 GB, free: 348 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.5163, allocations: 0.6026 MB / 0.6861 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.5166, allocations: 220.8 kB / 0.6863 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.5169, allocations: 150.6 kB / 0.6865 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.517, allocations: 334 kB / 0.6868 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.5178, allocations: 292.7 kB / 0.6871 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009093/0.5187, allocations: 495.8 kB / 0.6875 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.5202, allocations: 0.7129 MB / 0.6882 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5202, allocations: 4 kB / 0.6882 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005015/0.5252, allocations: 1.269 MB / 0.6895 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.5253, allocations: 8 kB / 0.6895 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5253, allocations: 4.375 kB / 0.6895 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000664/0.5259, allocations: 136.7 kB / 0.6896 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.5266, allocations: 159.8 kB / 0.6898 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008962/0.5275, allocations: 0.6967 MB / 0.6904 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5288, allocations: 159 kB / 0.6906 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.5289, allocations: 32 kB / 0.6906 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001184/0.5301, allocations: 0.5496 MB / 0.6912 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009134/0.531, allocations: 491.9 kB / 0.6916 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001444/0.5325, allocations: 0.7011 MB / 0.6923 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.5325, allocations: 4 kB / 0.6923 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004849/0.5374, allocations: 1.261 MB / 0.6936 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5374, allocations: 8 kB / 0.6936 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5374, allocations: 4 kB / 0.6936 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.538, allocations: 141 kB / 0.6937 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.5386, allocations: 151.8 kB / 0.6938 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000798/0.5394, allocations: 0.7083 MB / 0.6945 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.5408, allocations: 135.4 kB / 0.6947 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.935e-05/0.5409, allocations: 32 kB / 0.6947 GB, free: 6.582 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.0003105/0.5412, allocations: 224.1 kB / 0.6949 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.5416, allocations: 138.3 kB / 0.695 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/0.5464, allocations: 1.256 MB / 0.6963 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.5465, allocations: 4 kB / 0.6963 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5465, allocations: 4 kB / 0.6963 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00417/0.5507, allocations: 1.107 MB / 0.6974 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007032/0.5577, allocations: 2.602 MB / 0.6999 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5578, allocations: 4 kB / 0.6999 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.5583, allocations: 115.8 kB / 0.7 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/0.5588, allocations: 133.2 kB / 0.7001 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.5589, allocations: 23.92 kB / 0.7002 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005304/0.5642, allocations: 2.583 MB / 0.7027 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.5642, allocations: 11.94 kB / 0.7027 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.5697, allocations: 1.703 MB / 0.7044 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.5704, allocations: 307.1 kB / 0.7046 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.5708, allocations: 19.98 kB / 0.7047 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5718, allocations: 79.97 kB / 0.7047 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.572, allocations: 56.25 kB / 0.7048 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.572, allocations: 35.98 kB / 0.7048 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001474/0.5735, allocations: 0.8699 MB / 0.7057 GB, free: 10.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5735, allocations: 0 / 0.7057 GB, free: 10.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00208/0.5756, allocations: 0.7135 MB / 0.7064 GB, free: 10.2 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.0009782/0.5766, allocations: 439 kB / 0.7068 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.5795, allocations: 1.16 MB / 0.7079 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5795, allocations: 0 / 0.7079 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.5811, allocations: 0.5608 MB / 0.7085 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/0.5852, allocations: 0.7982 MB / 0.7093 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.5899, allocations: 2.764 MB / 0.712 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000987/0.591, allocations: 1.164 MB / 0.7131 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001503/0.5925, allocations: 315 kB / 0.7134 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.5928, allocations: 107.4 kB / 0.7135 GB, free: 2.84 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.5928, allocations: 0 / 0.7135 GB, free: 2.84 MB / 0.545 GB Notification: Performance of Templates: time 0.05281/0.6456, allocations: 31.5 MB / 0.7443 GB, free: 3.715 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)