Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.004711/0.004711, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001181/0.001181, allocations: 199 kB / 16.79 MB, free: 6.246 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.214/1.214, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6229/0.6229, allocations: 115.3 MB / 406 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 69.61 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1192, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.0054/0.1246, allocations: 4.562 MB / 0.5603 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.1256, allocations: 0.8226 MB / 0.5611 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.1257, allocations: 7.938 kB / 0.5611 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.1259, allocations: 31.88 kB / 0.5611 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.126, allocations: 23.78 kB / 0.5612 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.1264, allocations: 155.4 kB / 0.5613 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1266, allocations: 163.4 kB / 0.5615 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.1266, allocations: 25.08 kB / 0.5615 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1268, allocations: 67.77 kB / 0.5616 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.1269, allocations: 75.67 kB / 0.5616 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1269, allocations: 8 kB / 0.5616 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.1272, allocations: 151.7 kB / 0.5618 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.1273, allocations: 23.91 kB / 0.5618 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.1273, allocations: 55.72 kB / 0.5619 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1276, allocations: 239.6 kB / 0.5621 GB, free: 4.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1276, allocations: 0 / 0.5621 GB, free: 4.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1276, allocations: 0 / 0.5621 GB, free: 4.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1277, allocations: 0 / 0.5621 GB, free: 4.281 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000761/0.1284, allocations: 485 kB / 0.5626 GB, free: 3.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1285, allocations: 12.03 kB / 0.5626 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1285, allocations: 42.67 kB / 0.5626 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1286, allocations: 12.84 kB / 0.5626 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1287, allocations: 184.1 kB / 0.5628 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1287, allocations: 8.375 kB / 0.5628 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1287, allocations: 8.375 kB / 0.5628 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.129, allocations: 125.5 kB / 0.5629 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.129, allocations: 0 / 0.5629 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1291, allocations: 0 / 0.5629 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1291, allocations: 4 kB / 0.5629 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.1294, allocations: 141.4 kB / 0.5631 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.1303, allocations: 468.3 kB / 0.5635 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.1306, allocations: 134.5 kB / 0.5636 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.1308, allocations: 68.81 kB / 0.5637 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.132, allocations: 0.9568 MB / 0.5646 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1321, allocations: 38.56 kB / 0.5647 GB, free: 1.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.1321, allocations: 3.938 kB / 0.5647 GB, free: 1.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005951/0.1327, allocations: 209.3 kB / 0.5649 GB, free: 1.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.1327, allocations: 55.41 kB / 0.5649 GB, free: 1.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1328, allocations: 165.8 kB / 0.5651 GB, free: 0.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1329, allocations: 33.7 kB / 0.5651 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.1329, allocations: 104.4 kB / 0.5652 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.133, allocations: 39.45 kB / 0.5653 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.133, allocations: 53.69 kB / 0.5653 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.1331, allocations: 318.8 kB / 0.5656 GB, free: 320 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1334, allocations: 75.95 kB / 0.5657 GB, free: 244 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.1336, allocations: 112.8 kB / 0.5658 GB, free: 120 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.134, allocations: 176.4 kB / 0.566 GB, free: 15.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.134, allocations: 3.938 kB / 0.566 GB, free: 15.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005146/0.1345, allocations: 249.1 kB / 0.5662 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1345, allocations: 8.094 kB / 0.5662 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1345, allocations: 3.938 kB / 0.5662 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1346, allocations: 4 kB / 0.5662 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.1348, allocations: 55.84 kB / 0.5663 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1348, allocations: 3.984 kB / 0.5663 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.135, allocations: 31.77 kB / 0.5663 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.1351, allocations: 8 kB / 0.5663 GB, free: 15.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.1352, allocations: 121.8 kB / 0.5664 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.1352, allocations: 15.81 kB / 0.5664 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.1357, allocations: 174.9 kB / 0.5666 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1357, allocations: 0 / 0.5666 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1357, allocations: 0 / 0.5666 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1357, allocations: 4 kB / 0.5666 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1359, allocations: 225.4 kB / 0.5668 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.136, allocations: 0 / 0.5668 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1361, allocations: 27.97 kB / 0.5669 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1361, allocations: 0 / 0.5669 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1361, allocations: 11.94 kB / 0.5669 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1361, allocations: 3.938 kB / 0.5669 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1361, allocations: 3.938 kB / 0.5669 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.1366, allocations: 255.3 kB / 0.5671 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.1366, allocations: 100.9 kB / 0.5672 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.1367, allocations: 3.938 kB / 0.5672 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1368, allocations: 15.98 kB / 0.5672 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.1368, allocations: 7.984 kB / 0.5672 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1369, allocations: 0 / 0.5672 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.1369, allocations: 121.6 kB / 0.5674 GB, free: 14.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1369, allocations: 4 kB / 0.5674 GB, free: 14.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1372, allocations: 68.3 kB / 0.5674 GB, free: 14.33 MB / 446.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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008033/0.1381, allocations: 0.8387 MB / 0.5682 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.1385, allocations: 171.8 kB / 0.5684 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1385, allocations: 0 / 0.5684 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1387, allocations: 75.88 kB / 0.5685 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.139, allocations: 15.94 kB / 0.5685 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1413, allocations: 1.982 MB / 0.5704 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1416, allocations: 0.7087 MB / 0.5711 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.1417, allocations: 20.25 kB / 0.5711 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.1417, allocations: 35.42 kB / 0.5712 GB, free: 10.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1417, allocations: 0 / 0.5712 GB, free: 10.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/0.3005, allocations: 3.943 MB / 0.575 GB, free: 6.547 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.3008, allocations: 220.5 kB / 0.5752 GB, free: 6.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.332, allocations: 4 kB / 0.5752 GB, free: 6.285 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)