Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.0006906/0.0006906, 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.0007292/0.0007292, allocations: 173 kB / 16.58 MB, free: 6.852 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.171/1.171, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6049/0.6049, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 16 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001433/0.1143, allocations: 1.258 MB / 0.5581 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1155, allocations: 0.8391 MB / 0.559 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.1155, allocations: 0 / 0.559 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.1156, allocations: 7.938 kB / 0.559 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.1157, allocations: 19.84 kB / 0.559 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.116, allocations: 95.75 kB / 0.5591 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1161, allocations: 67.72 kB / 0.5591 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.1162, allocations: 11.98 kB / 0.5591 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.1163, allocations: 31.86 kB / 0.5592 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1164, allocations: 31.84 kB / 0.5592 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1164, allocations: 0 / 0.5592 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.1168, allocations: 275.7 kB / 0.5595 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.1168, allocations: 7.969 kB / 0.5595 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.1169, allocations: 37.64 kB / 0.5595 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.117, allocations: 111.9 kB / 0.5596 GB, free: 8.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.117, allocations: 0 / 0.5596 GB, free: 8.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.117, allocations: 4 kB / 0.5596 GB, free: 8.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.117, allocations: 0 / 0.5596 GB, free: 8.848 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004578/0.1175, allocations: 395.1 kB / 0.56 GB, free: 8.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1175, allocations: 8.031 kB / 0.56 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.1176, allocations: 34.56 kB / 0.56 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.1177, allocations: 11.91 kB / 0.5601 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1179, allocations: 194.8 kB / 0.5602 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1179, allocations: 3.953 kB / 0.5602 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1179, allocations: 8 kB / 0.5603 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1181, allocations: 61.67 kB / 0.5603 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.1181, allocations: 0 / 0.5603 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1181, allocations: 0 / 0.5603 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1181, allocations: 0 / 0.5603 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1182, allocations: 55.95 kB / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1186, allocations: 292.8 kB / 0.5606 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1188, allocations: 70.48 kB / 0.5607 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.1189, allocations: 28.97 kB / 0.5607 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1189, allocations: 0 / 0.5607 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.1189, allocations: 34.56 kB / 0.5608 GB, free: 7.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1189, allocations: 4 kB / 0.5608 GB, free: 7.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003256/0.1192, allocations: 117.6 kB / 0.5609 GB, free: 7.375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1193, allocations: 51.41 kB / 0.5609 GB, free: 7.312 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.1194, allocations: 139.5 kB / 0.5611 GB, free: 7.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1194, allocations: 29.7 kB / 0.5611 GB, free: 7.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.1194, allocations: 92.2 kB / 0.5612 GB, free: 7.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1195, allocations: 19.73 kB / 0.5612 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.1195, allocations: 4 kB / 0.5612 GB, free: 7.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.1196, allocations: 318.8 kB / 0.5615 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.1197, allocations: 31.92 kB / 0.5615 GB, free: 6.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.1197, allocations: 27.98 kB / 0.5616 GB, free: 6.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.1198, allocations: 23.98 kB / 0.5616 GB, free: 6.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1198, allocations: 0 / 0.5616 GB, free: 6.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002022/0.12, allocations: 105.6 kB / 0.5617 GB, free: 6.504 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.12, allocations: 4 kB / 0.5617 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1201, allocations: 0 / 0.5617 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.1201, allocations: 3.938 kB / 0.5617 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1202, allocations: 16.42 kB / 0.5617 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1202, allocations: 4 kB / 0.5617 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.1202, allocations: 4 kB / 0.5617 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1203, allocations: 7.984 kB / 0.5617 GB, free: 6.465 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.1203, allocations: 126.4 kB / 0.5619 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1204, allocations: 7.906 kB / 0.5619 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.1206, allocations: 106 kB / 0.562 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1206, allocations: 7.938 kB / 0.562 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1206, allocations: 0 / 0.562 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1206, allocations: 4 kB / 0.562 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1208, allocations: 181.6 kB / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1208, allocations: 0 / 0.5621 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.1209, allocations: 15.98 kB / 0.5622 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1209, allocations: 4 kB / 0.5622 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1209, allocations: 0 / 0.5622 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1209, allocations: 0 / 0.5622 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1209, allocations: 0 / 0.5622 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1212, allocations: 203.4 kB / 0.5624 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.1212, allocations: 85.02 kB / 0.5624 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1212, allocations: 0 / 0.5624 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.1213, allocations: 7.984 kB / 0.5624 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1214, allocations: 11.94 kB / 0.5625 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1214, allocations: 4 kB / 0.5625 GB, free: 5.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.375e-05/0.1214, allocations: 101.8 kB / 0.5626 GB, free: 5.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1214, allocations: 0 / 0.5626 GB, free: 5.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1217, allocations: 24 kB / 0.5626 GB, free: 5.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005281/0.1222, allocations: 0.7442 MB / 0.5633 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1224, allocations: 76.02 kB / 0.5634 GB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1224, allocations: 4 kB / 0.5634 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.1225, allocations: 27.98 kB / 0.5634 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.1228, allocations: 9.406 kB / 0.5634 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.1238, allocations: 0.6105 MB / 0.564 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.124, allocations: 0.6888 MB / 0.5647 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.1241, allocations: 8.172 kB / 0.5647 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1241, allocations: 15.44 kB / 0.5647 GB, free: 3.219 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1241, allocations: 4 kB / 0.5647 GB, free: 3.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.1354, allocations: 2.024 MB / 0.5667 GB, free: 1.367 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.1356, allocations: 193.9 kB / 0.5669 GB, free: 1.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.619, allocations: 3.938 kB / 0.5669 GB, free: 1.129 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: