Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 97.05 kB / 15.69 MB, free: 488 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.001568/0.001568, allocations: 173.3 kB / 16.56 MB, free: 6.387 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.34/1.34, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.662/0.662, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 15.98 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2771/0.4061, allocations: 51.23 MB / 0.6069 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.4192, allocations: 10.32 MB / 0.6169 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.4211, allocations: 49.84 kB / 0.617 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.4231, allocations: 0.6323 MB / 0.6176 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.4291, allocations: 1.945 MB / 0.6195 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.4332, allocations: 1.316 MB / 0.6208 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004309/0.4376, allocations: 1.848 MB / 0.6226 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.4394, allocations: 0.8073 MB / 0.6234 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.4426, allocations: 0.985 MB / 0.6243 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.4448, allocations: 0.6007 MB / 0.6249 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.445, allocations: 42.28 kB / 0.625 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003395/0.4484, allocations: 0.9827 MB / 0.6259 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.4486, allocations: 199.1 kB / 0.6261 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.4491, allocations: 282.3 kB / 0.6264 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.4515, allocations: 1.578 MB / 0.6279 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.4515, allocations: 0 / 0.6279 GB, free: 11.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4516, allocations: 0 / 0.6279 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.4516, allocations: 5.031 kB / 0.6279 GB, free: 11.15 MB / 462.1 MB 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.002515/0.4541, allocations: 1.48 MB / 0.6294 GB, free: 10 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4541, allocations: 8.688 kB / 0.6294 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.4563, allocations: 474.1 kB / 0.6298 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.4581, allocations: 1.049 MB / 0.6309 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/0.4585, allocations: 131.9 kB / 0.631 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4586, allocations: 78.06 kB / 0.6311 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.4606, allocations: 1.003 MB / 0.632 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4606, allocations: 0 / 0.632 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.4607, allocations: 32.81 kB / 0.6321 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.4607, allocations: 18.31 kB / 0.6321 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.463, allocations: 0.9142 MB / 0.633 GB, free: 7.781 MB / 462.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.006316/0.4694, allocations: 4.93 MB / 0.6378 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.4729, allocations: 0.9034 MB / 0.6387 GB, free: 2.996 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006461/0.4736, allocations: 0.8997 MB / 0.6396 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4736, allocations: 36.19 kB / 0.6396 GB, free: 1.891 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/0.4736, allocations: 2.375 kB / 0.6396 GB, free: 1.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.008873/0.4825, allocations: 2.144 MB / 0.6417 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.4826, allocations: 57.62 kB / 0.6417 GB, free: 0.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.4841, allocations: 1.063 MB / 0.6428 GB, free: 240 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.4842, allocations: 40.42 kB / 0.6428 GB, free: 200 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.4846, allocations: 0.5237 MB / 0.6433 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.4847, allocations: 152.9 kB / 0.6435 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.4848, allocations: 10.72 kB / 0.6435 GB, free: 15.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4849, allocations: 327.3 kB / 0.6438 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008872/0.4858, allocations: 317.9 kB / 0.6441 GB, free: 15.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.4868, allocations: 0.5282 MB / 0.6446 GB, free: 14.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.4877, allocations: 357.7 kB / 0.645 GB, free: 14.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4877, allocations: 3.062 kB / 0.645 GB, free: 14.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003698/0.4914, allocations: 1.224 MB / 0.6462 GB, free: 13.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005634/0.492, allocations: 1.663 MB / 0.6478 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.492, allocations: 4 kB / 0.6478 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.4933, allocations: 332.5 kB / 0.6481 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.4939, allocations: 123.8 kB / 0.6482 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.4953, allocations: 0.956 MB / 0.6492 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4968, allocations: 195.3 kB / 0.6493 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.4969, allocations: 28 kB / 0.6494 GB, free: 10.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4969, allocations: 5.719 kB / 0.6494 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003523/0.5004, allocations: 1.078 MB / 0.6504 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.5005, allocations: 4 kB / 0.6504 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.5017, allocations: 317 kB / 0.6507 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.5023, allocations: 135.7 kB / 0.6509 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.5038, allocations: 0.9322 MB / 0.6518 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.5054, allocations: 179.3 kB / 0.6519 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.5056, allocations: 27.98 kB / 0.652 GB, free: 7.422 MB / 478.1 MB 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007766/0.5063, allocations: 349 kB / 0.6523 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.5068, allocations: 110.6 kB / 0.6524 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.5111, allocations: 1.202 MB / 0.6536 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.5112, allocations: 4 kB / 0.6536 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.5112, allocations: 0 / 0.6536 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5112, allocations: 4.078 kB / 0.6536 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/0.5173, allocations: 2.284 MB / 0.6558 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.5173, allocations: 3.984 kB / 0.6558 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.5176, allocations: 71.89 kB / 0.6559 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.5187, allocations: 312.9 kB / 0.6562 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.5188, allocations: 19.98 kB / 0.6562 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.5204, allocations: 0.972 MB / 0.6572 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5204, allocations: 4.031 kB / 0.6572 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/0.5241, allocations: 1.371 MB / 0.6585 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.5248, allocations: 283.5 kB / 0.6588 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.5251, allocations: 11.95 kB / 0.6588 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5262, allocations: 119.8 kB / 0.6589 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.5263, allocations: 35.89 kB / 0.6589 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.5264, allocations: 23.98 kB / 0.659 GB, free: 20 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.5276, allocations: 0.7506 MB / 0.6597 GB, free: 15.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5276, allocations: 0 / 0.6597 GB, free: 15.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001823/0.5295, allocations: 0.5613 MB / 0.6602 GB, free: 14.7 MB / 494.1 MB 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008097/0.5303, allocations: 376.1 kB / 0.6606 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.5335, allocations: 1.163 MB / 0.6617 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5335, allocations: 128 / 0.6617 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.5345, allocations: 366.3 kB / 0.6621 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.5371, allocations: 0.4904 MB / 0.6626 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.5431, allocations: 2.479 MB / 0.665 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.5438, allocations: 1.081 MB / 0.666 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.5449, allocations: 225.7 kB / 0.6663 GB, free: 8.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.5451, allocations: 75.42 kB / 0.6663 GB, free: 8.391 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5451, allocations: 0 / 0.6663 GB, free: 8.391 MB / 494.1 MB Notification: Performance of Templates: time 0.03812/0.5833, allocations: 23.29 MB / 0.6891 GB, free: 1.395 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)