Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 88.75 kB / 16.66 MB, free: 5.738 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.001304/0.001304, allocations: 181.9 kB / 17.58 MB, free: 5.477 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.389/1.389, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7442/0.7442, allocations: 115.5 MB / 408.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 15.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4547, allocations: 77.52 MB / 0.5606 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0546/0.5093, allocations: 59.7 MB / 0.6189 GB, free: 7.703 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.5277, allocations: 11.92 MB / 0.6305 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.5305, allocations: 51.69 kB / 0.6306 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.5329, allocations: 0.5516 MB / 0.6311 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.5399, allocations: 1.804 MB / 0.6329 GB, free: 9.332 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.5434, allocations: 1.072 MB / 0.6339 GB, free: 8.273 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005906/0.5494, allocations: 3.904 MB / 0.6377 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.5518, allocations: 0.908 MB / 0.6386 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003844/0.5557, allocations: 1.124 MB / 0.6397 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.5578, allocations: 0.8515 MB / 0.6406 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.558, allocations: 44 kB / 0.6406 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.5613, allocations: 1.345 MB / 0.6419 GB, free: 52 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.5617, allocations: 211 kB / 0.6421 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.5627, allocations: 0.6311 MB / 0.6427 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.5652, allocations: 1.699 MB / 0.6444 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5652, allocations: 0 / 0.6444 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5653, allocations: 0 / 0.6444 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.5653, allocations: 0 / 0.6444 GB, free: 13.5 MB / 494.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.002864/0.5681, allocations: 1.491 MB / 0.6458 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5682, allocations: 15.97 kB / 0.6459 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.5705, allocations: 470.8 kB / 0.6463 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.5727, allocations: 1.132 MB / 0.6474 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.5731, allocations: 125.9 kB / 0.6475 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.5732, allocations: 80 kB / 0.6476 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.5754, allocations: 1.009 MB / 0.6486 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5754, allocations: 4 kB / 0.6486 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.5755, allocations: 32 kB / 0.6486 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.5755, allocations: 16 kB / 0.6486 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.5781, allocations: 0.9211 MB / 0.6495 GB, free: 8.062 MB / 494.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.00698/0.5851, allocations: 4.915 MB / 0.6543 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.5887, allocations: 0.9022 MB / 0.6552 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008124/0.5896, allocations: 320.7 kB / 0.6555 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/0.5903, allocations: 0.9141 MB / 0.6564 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.5904, allocations: 34.56 kB / 0.6565 GB, free: 412 kB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 3.166e-06/0.5904, allocations: 0 / 0.6565 GB, free: 412 kB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.009487/0.5999, allocations: 2.18 MB / 0.6586 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.6, allocations: 55.41 kB / 0.6586 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.6017, allocations: 1.059 MB / 0.6597 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-05/0.6018, allocations: 33.7 kB / 0.6597 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.6023, allocations: 0.5197 MB / 0.6602 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.6025, allocations: 157.7 kB / 0.6604 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.6025, allocations: 45.7 kB / 0.6604 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6027, allocations: 334 kB / 0.6607 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009601/0.6036, allocations: 324.9 kB / 0.661 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.6049, allocations: 0.5333 MB / 0.6616 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.6071, allocations: 0.7326 MB / 0.6623 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.6071, allocations: 0 / 0.6623 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003012/0.6101, allocations: 1.051 MB / 0.6633 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.6103, allocations: 213.9 kB / 0.6635 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6103, allocations: 4 kB / 0.6635 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.6117, allocations: 336.7 kB / 0.6638 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.6123, allocations: 127.8 kB / 0.6639 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.6139, allocations: 0.9386 MB / 0.6649 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.6154, allocations: 199.8 kB / 0.6651 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.6155, allocations: 31.98 kB / 0.6651 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6155, allocations: 4 kB / 0.6651 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002596/0.6181, allocations: 0.9102 MB / 0.666 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6181, allocations: 4 kB / 0.666 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.6193, allocations: 335.3 kB / 0.6663 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.6199, allocations: 127.8 kB / 0.6664 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.6214, allocations: 0.931 MB / 0.6673 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.6227, allocations: 173 kB / 0.6675 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.6228, allocations: 27.98 kB / 0.6675 GB, free: 4.719 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0006316/0.6234, allocations: 356.9 kB / 0.6679 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.6236, allocations: 106.7 kB / 0.668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.6277, allocations: 1.211 MB / 0.6691 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.6277, allocations: 8 kB / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.6277, allocations: 0 / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.6278, allocations: 7.984 kB / 0.6692 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/0.6334, allocations: 2.288 MB / 0.6714 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.6334, allocations: 8.219 kB / 0.6714 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.6338, allocations: 71.89 kB / 0.6715 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.6349, allocations: 324.6 kB / 0.6718 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.6349, allocations: 16 kB / 0.6718 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.6365, allocations: 0.9754 MB / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6365, allocations: 0 / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004004/0.6406, allocations: 1.294 MB / 0.674 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.6412, allocations: 283.4 kB / 0.6743 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.6414, allocations: 11.94 kB / 0.6743 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.6425, allocations: 111.9 kB / 0.6744 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.6426, allocations: 43.83 kB / 0.6744 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/0.6427, allocations: 23.98 kB / 0.6745 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001468/0.6442, allocations: 0.7428 MB / 0.6752 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6442, allocations: 4 kB / 0.6752 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00184/0.646, allocations: 0.5613 MB / 0.6757 GB, free: 12.09 MB / 0.5137 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 (34): * Single equations (assignments): 29 * 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.0009003/0.6469, allocations: 392.8 kB / 0.6761 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003448/0.6504, allocations: 1.176 MB / 0.6773 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6504, allocations: 4 kB / 0.6773 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.6514, allocations: 374.2 kB / 0.6776 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.6548, allocations: 0.4993 MB / 0.6781 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.6613, allocations: 2.576 MB / 0.6806 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008023/0.6622, allocations: 1.062 MB / 0.6817 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.6625, allocations: 83.36 kB / 0.6817 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.6625, allocations: 0 / 0.6817 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of Templates: time 0.0382/0.7007, allocations: 23.84 MB / 0.705 GB, free: 14.18 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)