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.0006394/0.0006393, allocations: 88.17 kB / 15.7 MB, free: 460 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.000743/0.000743, allocations: 172.1 kB / 16.58 MB, free: 6.797 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.159/1.159, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6099/0.6099, allocations: 113.7 MB / 405.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 9.094 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1142, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2597/0.3739, allocations: 56.46 MB / 0.612 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.387, allocations: 11.22 MB / 0.623 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.3887, allocations: 53.88 kB / 0.623 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.39, allocations: 468.3 kB / 0.6235 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.3937, allocations: 1.528 MB / 0.625 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.396, allocations: 0.857 MB / 0.6258 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.3998, allocations: 3.395 MB / 0.6291 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.4009, allocations: 0.8121 MB / 0.6299 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.4028, allocations: 1.043 MB / 0.6309 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.4038, allocations: 0.8174 MB / 0.6317 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.4039, allocations: 44 kB / 0.6318 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.406, allocations: 1.089 MB / 0.6329 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.4063, allocations: 204.7 kB / 0.633 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.4065, allocations: 282.3 kB / 0.6333 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.4082, allocations: 1.645 MB / 0.6349 GB, free: 6.504 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4082, allocations: 0.6562 kB / 0.6349 GB, free: 6.504 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4082, allocations: 0 / 0.6349 GB, free: 6.504 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.4082, allocations: 5.469 kB / 0.6349 GB, free: 6.5 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.002294/0.4105, allocations: 1.509 MB / 0.6364 GB, free: 5.328 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.4106, allocations: 10.03 kB / 0.6364 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.4107, allocations: 120.2 kB / 0.6365 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.4127, allocations: 0.5129 MB / 0.637 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.4144, allocations: 1.102 MB / 0.6381 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.4147, allocations: 127.8 kB / 0.6382 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.4148, allocations: 86.34 kB / 0.6383 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.4166, allocations: 1.031 MB / 0.6393 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4167, allocations: 7 kB / 0.6393 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.4168, allocations: 30.62 kB / 0.6393 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4168, allocations: 17.28 kB / 0.6394 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.419, allocations: 0.9988 MB / 0.6403 GB, free: 2.922 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.005156/0.4242, allocations: 4.719 MB / 0.6449 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/0.4275, allocations: 1.124 MB / 0.646 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008711/0.4284, allocations: 440.9 kB / 0.6465 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008053/0.4292, allocations: 1.025 MB / 0.6475 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4292, allocations: 41.94 kB / 0.6475 GB, free: 12.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 1.813e-06/0.4292, allocations: 0 / 0.6475 GB, free: 12.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.007667/0.4369, allocations: 2.492 MB / 0.6499 GB, free: 10.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.4369, allocations: 59.78 kB / 0.65 GB, free: 10.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.438, allocations: 0.9314 MB / 0.6509 GB, free: 9.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.438, allocations: 37.7 kB / 0.6509 GB, free: 9.691 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.4384, allocations: 0.5002 MB / 0.6514 GB, free: 9.188 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.4385, allocations: 185.3 kB / 0.6516 GB, free: 9.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.4386, allocations: 16 kB / 0.6516 GB, free: 8.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4387, allocations: 326 kB / 0.6519 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008599/0.4395, allocations: 376.9 kB / 0.6523 GB, free: 8.297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009806/0.4405, allocations: 0.5396 MB / 0.6528 GB, free: 7.695 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.4414, allocations: 409.9 kB / 0.6532 GB, free: 7.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4415, allocations: 0 / 0.6532 GB, free: 7.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002375/0.4438, allocations: 1.115 MB / 0.6543 GB, free: 6.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/0.4439, allocations: 164.3 kB / 0.6545 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.444, allocations: 4 kB / 0.6545 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.445, allocations: 333.4 kB / 0.6548 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.4456, allocations: 143.8 kB / 0.6549 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.4468, allocations: 0.9374 MB / 0.6558 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.4478, allocations: 174.9 kB / 0.656 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.4479, allocations: 31.97 kB / 0.656 GB, free: 4.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.4479, allocations: 4 kB / 0.656 GB, free: 4.34 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/0.4502, allocations: 1.005 MB / 0.657 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4502, allocations: 0 / 0.657 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008975/0.4511, allocations: 324.8 kB / 0.6573 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.4516, allocations: 143.8 kB / 0.6575 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.4528, allocations: 0.9362 MB / 0.6584 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/0.4537, allocations: 175.4 kB / 0.6585 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.4537, allocations: 27.98 kB / 0.6586 GB, free: 1.711 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.0004181/0.4542, allocations: 352.9 kB / 0.6589 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4543, allocations: 110.6 kB / 0.659 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/0.4581, allocations: 1.437 MB / 0.6604 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4581, allocations: 12 kB / 0.6604 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.4581, allocations: 3.953 kB / 0.6604 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4581, allocations: 3.984 kB / 0.6604 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.4629, allocations: 2.522 MB / 0.6629 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4629, allocations: 0 / 0.6629 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.4634, allocations: 120 kB / 0.663 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008449/0.4642, allocations: 326.9 kB / 0.6633 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.4643, allocations: 15.98 kB / 0.6633 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.4655, allocations: 0.9659 MB / 0.6643 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4655, allocations: 0 / 0.6643 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.469, allocations: 1.46 MB / 0.6657 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.4694, allocations: 283.5 kB / 0.666 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.4695, allocations: 12 kB / 0.666 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007917/0.4703, allocations: 131.8 kB / 0.6661 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.4704, allocations: 36.33 kB / 0.6661 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.4704, allocations: 23.98 kB / 0.6662 GB, free: 9.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000737/0.4712, allocations: 0.6556 MB / 0.6668 GB, free: 9.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4712, allocations: 4 kB / 0.6668 GB, free: 9.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001235/0.4724, allocations: 0.5613 MB / 0.6674 GB, free: 8.52 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.004216/0.4766, allocations: 2.264 MB / 0.6696 GB, free: 6.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003056/0.4797, allocations: 1.389 MB / 0.6709 GB, free: 4.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4797, allocations: 3.938 kB / 0.6709 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.4808, allocations: 492.8 kB / 0.6714 GB, free: 4.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.4827, allocations: 0.515 MB / 0.6719 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.4944, allocations: 6.727 MB / 0.6785 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.4949, allocations: 1.066 MB / 0.6795 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008794/0.4958, allocations: 235 kB / 0.6797 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.4963, allocations: 415.3 kB / 0.6801 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.4963, allocations: 0 / 0.6801 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.5421, allocations: 33.17 MB / 0.7125 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.5424, allocations: 265.1 kB / 0.7128 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.728, allocations: 3.938 kB / 0.7128 GB, free: 10.04 MB / 0.5294 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: