Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 95.88 kB / 15.68 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.002555/0.002555, allocations: 174.7 kB / 16.56 MB, free: 6.391 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.846/1.846, allocations: 223.2 MB / 240.5 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6286/0.6286, allocations: 113.7 MB / 405.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004311, allocations: 12 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1531, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3709/0.524, allocations: 51.27 MB / 0.6068 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.5404, allocations: 10.31 MB / 0.6169 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.5434, allocations: 50.22 kB / 0.6169 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.5465, allocations: 0.6322 MB / 0.6175 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009638/0.5562, allocations: 1.947 MB / 0.6194 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005705/0.5619, allocations: 1.316 MB / 0.6207 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00644/0.5684, allocations: 1.858 MB / 0.6225 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.5708, allocations: 0.8334 MB / 0.6233 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.5743, allocations: 0.9825 MB / 0.6243 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.5763, allocations: 0.6104 MB / 0.6249 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.5765, allocations: 44.12 kB / 0.6249 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.5801, allocations: 0.9893 MB / 0.6259 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.5804, allocations: 199 kB / 0.6261 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.581, allocations: 287.1 kB / 0.6264 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.5837, allocations: 1.587 MB / 0.6279 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5837, allocations: 5.281 kB / 0.6279 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5837, allocations: 3.938 kB / 0.6279 GB, free: 11.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.5837, allocations: 0 / 0.6279 GB, free: 11.23 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003155/0.5869, allocations: 1.496 MB / 0.6294 GB, free: 10.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5869, allocations: 9.625 kB / 0.6294 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.5871, allocations: 119.5 kB / 0.6295 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.5897, allocations: 0.514 MB / 0.63 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.5919, allocations: 1.053 MB / 0.631 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.5923, allocations: 135.6 kB / 0.6312 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.5924, allocations: 80.69 kB / 0.6312 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.5945, allocations: 1.026 MB / 0.6322 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5946, allocations: 1.406 kB / 0.6322 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.5947, allocations: 34.31 kB / 0.6323 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.5947, allocations: 19.66 kB / 0.6323 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.5972, allocations: 1.008 MB / 0.6333 GB, free: 7.68 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.006232/0.6035, allocations: 4.743 MB / 0.6379 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/0.6078, allocations: 1.124 MB / 0.639 GB, free: 2.996 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.6089, allocations: 1.031 MB / 0.64 GB, free: 1.816 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.6089, allocations: 48.19 kB / 0.6401 GB, free: 1.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/0.6089, allocations: 0 / 0.6401 GB, free: 1.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=53): time 0.009991/0.6189, allocations: 2.483 MB / 0.6425 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.619, allocations: 55.12 kB / 0.6425 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.6204, allocations: 0.9441 MB / 0.6435 GB, free: 20 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.6205, allocations: 40.5 kB / 0.6435 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.6209, allocations: 0.4969 MB / 0.644 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.6211, allocations: 180.8 kB / 0.6442 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.6212, allocations: 16 kB / 0.6442 GB, free: 15.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6213, allocations: 331.8 kB / 0.6445 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/0.6223, allocations: 374.9 kB / 0.6448 GB, free: 14.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6235, allocations: 0.541 MB / 0.6454 GB, free: 14.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.6245, allocations: 405.9 kB / 0.6458 GB, free: 14.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6245, allocations: 4 kB / 0.6458 GB, free: 14.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002992/0.6275, allocations: 1.119 MB / 0.6469 GB, free: 12.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003477/0.6279, allocations: 0.9691 MB / 0.6478 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6279, allocations: 0 / 0.6478 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.6292, allocations: 333.4 kB / 0.6481 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.6299, allocations: 147.8 kB / 0.6483 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.6314, allocations: 0.9408 MB / 0.6492 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.6329, allocations: 172 kB / 0.6493 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.633, allocations: 27.98 kB / 0.6494 GB, free: 10.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.633, allocations: 4 kB / 0.6494 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002673/0.6357, allocations: 1.005 MB / 0.6504 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6357, allocations: 4 kB / 0.6504 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.6368, allocations: 316.9 kB / 0.6507 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.6375, allocations: 143.8 kB / 0.6508 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.6389, allocations: 0.9347 MB / 0.6517 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6403, allocations: 163.5 kB / 0.6519 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.6404, allocations: 31.97 kB / 0.6519 GB, free: 7.586 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0005825/0.6409, allocations: 348.9 kB / 0.6522 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.6411, allocations: 114.6 kB / 0.6523 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.6456, allocations: 1.448 MB / 0.6538 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.6456, allocations: 8 kB / 0.6538 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6456, allocations: 0 / 0.6538 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6457, allocations: 7.922 kB / 0.6538 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/0.6517, allocations: 2.537 MB / 0.6562 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.6517, allocations: 4.188 kB / 0.6563 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.6523, allocations: 119.8 kB / 0.6564 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.6533, allocations: 316.6 kB / 0.6567 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.6534, allocations: 19.98 kB / 0.6567 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.6549, allocations: 0.9657 MB / 0.6576 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.655, allocations: 8.094 kB / 0.6576 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/0.6596, allocations: 1.522 MB / 0.6591 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/0.6603, allocations: 299.5 kB / 0.6594 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.6604, allocations: 8 kB / 0.6594 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.6614, allocations: 131.8 kB / 0.6595 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.6615, allocations: 44.27 kB / 0.6596 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.6616, allocations: 23.98 kB / 0.6596 GB, free: 15.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008873/0.6625, allocations: 0.6673 MB / 0.6603 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6625, allocations: 0 / 0.6603 GB, free: 14.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001569/0.664, allocations: 0.573 MB / 0.6608 GB, free: 14.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005571/0.6696, allocations: 2.755 MB / 0.6635 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.6736, allocations: 1.393 MB / 0.6649 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.6737, allocations: 8 kB / 0.6649 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.6751, allocations: 488.8 kB / 0.6653 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.6782, allocations: 0.4938 MB / 0.6658 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.6846, allocations: 4.473 MB / 0.6702 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/0.6853, allocations: 1.09 MB / 0.6713 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001155/0.6864, allocations: 235.7 kB / 0.6715 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.687, allocations: 415.3 kB / 0.6719 GB, free: 2.691 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.687, allocations: 0 / 0.6719 GB, free: 2.691 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4066/1.094, allocations: 32.89 MB / 0.704 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000334/1.094, allocations: 259.7 kB / 0.7042 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/4.18, allocations: 3.938 kB / 0.7042 GB, free: 1.941 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: