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.0009805/0.0009802, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 173.6 kB / 16.57 MB, free: 6.398 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.384/1.384, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6672/0.6672, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 12 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 77.15 MB / 0.5568 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3946/0.5673, allocations: 62.9 MB / 0.6183 GB, free: 264 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.5849, allocations: 11 MB / 0.629 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004031/0.589, allocations: 53.88 kB / 0.6291 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.5924, allocations: 0.7417 MB / 0.6298 GB, free: 7.965 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009325/0.6018, allocations: 2.31 MB / 0.632 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004823/0.6066, allocations: 1.518 MB / 0.6335 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005394/0.612, allocations: 2.508 MB / 0.636 GB, free: 3.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.6144, allocations: 1.033 MB / 0.637 GB, free: 3.188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.6181, allocations: 1.158 MB / 0.6381 GB, free: 2.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.6198, allocations: 0.767 MB / 0.6389 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.62, allocations: 56.97 kB / 0.6389 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.6231, allocations: 0.8328 MB / 0.6397 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.6235, allocations: 261.1 kB / 0.64 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005448/0.624, allocations: 361.4 kB / 0.6403 GB, free: 1.281 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003402/0.6274, allocations: 2.015 MB / 0.6423 GB, free: 15.88 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6274, allocations: 5.312 kB / 0.6423 GB, free: 15.88 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6275, allocations: 0 / 0.6423 GB, free: 15.88 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.075e-05/0.6275, allocations: 0 / 0.6423 GB, free: 15.88 MB / 478.1 MB 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.003895/0.6314, allocations: 1.788 MB / 0.644 GB, free: 14.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.6315, allocations: 11 kB / 0.644 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007788/0.6322, allocations: 241.2 kB / 0.6443 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.6349, allocations: 1.367 MB / 0.6456 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.635, allocations: 76.88 kB / 0.6457 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.6351, allocations: 101.2 kB / 0.6458 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.637, allocations: 1.101 MB / 0.6469 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.6371, allocations: 7.375 kB / 0.6469 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.6372, allocations: 44.36 kB / 0.6469 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.6372, allocations: 27.38 kB / 0.6469 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.6391, allocations: 0.9252 MB / 0.6478 GB, free: 12.08 MB / 478.1 MB 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.006681/0.6458, allocations: 4.959 MB / 0.6527 GB, free: 7.348 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.6473, allocations: 0.6439 MB / 0.6533 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009847/0.6483, allocations: 0.8238 MB / 0.6541 GB, free: 5.691 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.6484, allocations: 47.12 kB / 0.6542 GB, free: 5.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.395e-06/0.6484, allocations: 0 / 0.6542 GB, free: 5.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.007575/0.656, allocations: 1.866 MB / 0.656 GB, free: 3.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.6561, allocations: 59.97 kB / 0.656 GB, free: 3.676 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.6581, allocations: 1.249 MB / 0.6573 GB, free: 2.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.6584, allocations: 45.7 kB / 0.6573 GB, free: 2.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.659, allocations: 0.5987 MB / 0.6579 GB, free: 1.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.6592, allocations: 216.9 kB / 0.6581 GB, free: 1.539 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.6593, allocations: 12 kB / 0.6581 GB, free: 1.527 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6594, allocations: 337.9 kB / 0.6584 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/0.6602, allocations: 293.8 kB / 0.6587 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/0.661, allocations: 0.4998 MB / 0.6592 GB, free: 344 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007791/0.6618, allocations: 355.1 kB / 0.6595 GB, free: 15.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6619, allocations: 0 / 0.6595 GB, free: 15.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005278/0.6671, allocations: 1.398 MB / 0.6609 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006331/0.6678, allocations: 1.423 MB / 0.6623 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6678, allocations: 4 kB / 0.6623 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.6684, allocations: 144.7 kB / 0.6624 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.6691, allocations: 171.8 kB / 0.6626 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/0.6701, allocations: 0.7083 MB / 0.6633 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.6717, allocations: 167 kB / 0.6634 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.6718, allocations: 31.98 kB / 0.6635 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.6718, allocations: 5.719 kB / 0.6635 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004708/0.6766, allocations: 1.257 MB / 0.6647 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.6766, allocations: 4 kB / 0.6647 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/0.6772, allocations: 149 kB / 0.6648 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.6778, allocations: 159.8 kB / 0.665 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.6789, allocations: 0.7084 MB / 0.6657 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.6804, allocations: 160 kB / 0.6658 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.6805, allocations: 31.98 kB / 0.6659 GB, free: 9.324 MB / 494.1 MB 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 (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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008634/0.6814, allocations: 425 kB / 0.6663 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.6816, allocations: 134.3 kB / 0.6664 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/0.6867, allocations: 1.392 MB / 0.6678 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.6867, allocations: 12 kB / 0.6678 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.6867, allocations: 4 kB / 0.6678 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004176/0.6909, allocations: 1.228 MB / 0.669 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007722/0.6987, allocations: 2.758 MB / 0.6717 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.6987, allocations: 3.984 kB / 0.6717 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.6992, allocations: 124.2 kB / 0.6718 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/0.6997, allocations: 136.8 kB / 0.6719 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.6998, allocations: 23.94 kB / 0.672 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00495/0.7048, allocations: 2.517 MB / 0.6744 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.7048, allocations: 4.094 kB / 0.6744 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.7103, allocations: 2.05 MB / 0.6764 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000833/0.7112, allocations: 351.1 kB / 0.6768 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.7114, allocations: 16 kB / 0.6768 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.7123, allocations: 87.97 kB / 0.6769 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7124, allocations: 60.27 kB / 0.6769 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.7125, allocations: 31.97 kB / 0.6769 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001265/0.7137, allocations: 0.8972 MB / 0.6778 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7137, allocations: 0 / 0.6778 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001951/0.7157, allocations: 0.729 MB / 0.6785 GB, free: 11.8 MB / 0.4981 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 (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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007846/0.7165, allocations: 445.3 kB / 0.679 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002552/0.719, allocations: 1.168 MB / 0.6801 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7191, allocations: 4 kB / 0.6801 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.7205, allocations: 0.5918 MB / 0.6807 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/0.7241, allocations: 0.75 MB / 0.6814 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.7279, allocations: 2.756 MB / 0.6841 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.7286, allocations: 1.192 MB / 0.6853 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001185/0.7298, allocations: 315 kB / 0.6856 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.73, allocations: 111.3 kB / 0.6857 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.73, allocations: 0 / 0.6857 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of Templates: time 0.0545/0.7845, allocations: 29.94 MB / 0.7149 GB, free: 6.805 MB / 0.5294 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)