Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_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.001091/0.001091, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.0009456/0.0009456, allocations: 192 kB / 16.14 MB, free: 6.598 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6603/0.6603, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.31 kB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.122, allocations: 80.21 MB / 0.5795 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004784/0.1268, allocations: 4.58 MB / 0.584 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008604/0.1277, allocations: 0.8304 MB / 0.5848 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.1277, allocations: 3.938 kB / 0.5848 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.1278, allocations: 23.83 kB / 0.5848 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.1279, allocations: 31.77 kB / 0.5848 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1283, allocations: 151.5 kB / 0.585 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1284, allocations: 163.4 kB / 0.5851 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.297e-05/0.1285, allocations: 21.11 kB / 0.5852 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1286, allocations: 71.7 kB / 0.5852 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.1287, allocations: 79.66 kB / 0.5853 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1287, allocations: 4 kB / 0.5853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.129, allocations: 143.8 kB / 0.5855 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.129, allocations: 31.89 kB / 0.5855 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.1291, allocations: 63.66 kB / 0.5855 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.1294, allocations: 227.6 kB / 0.5858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1294, allocations: 3.938 kB / 0.5858 GB, free: 2.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1294, allocations: 0 / 0.5858 GB, free: 2.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1294, allocations: 4 kB / 0.5858 GB, free: 2.684 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007403/0.1302, allocations: 482.9 kB / 0.5862 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1302, allocations: 8.031 kB / 0.5862 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1302, allocations: 42.69 kB / 0.5863 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.1303, allocations: 12.75 kB / 0.5863 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1304, allocations: 191.7 kB / 0.5865 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1304, allocations: 8.125 kB / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1304, allocations: 12 kB / 0.5865 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1307, allocations: 124.2 kB / 0.5866 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1308, allocations: 0 / 0.5866 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1308, allocations: 4 kB / 0.5866 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1308, allocations: 4 kB / 0.5866 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.1312, allocations: 139.9 kB / 0.5867 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.132, allocations: 468.4 kB / 0.5872 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1323, allocations: 126.5 kB / 0.5873 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.1325, allocations: 75.56 kB / 0.5874 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.1337, allocations: 0.9567 MB / 0.5883 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1337, allocations: 42.5 kB / 0.5884 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1337, allocations: 0 / 0.5884 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005826/0.1343, allocations: 205.3 kB / 0.5886 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1343, allocations: 63.33 kB / 0.5886 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.1344, allocations: 164.9 kB / 0.5888 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1345, allocations: 29.7 kB / 0.5888 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1345, allocations: 104.4 kB / 0.5889 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1345, allocations: 43.45 kB / 0.5889 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.1346, allocations: 45.61 kB / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.1347, allocations: 326.8 kB / 0.5893 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.1349, allocations: 75.94 kB / 0.5894 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1351, allocations: 108.9 kB / 0.5895 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.1355, allocations: 175.3 kB / 0.5896 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1355, allocations: 0 / 0.5896 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000493/0.136, allocations: 236.5 kB / 0.5899 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.136, allocations: 12.09 kB / 0.5899 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.136, allocations: 0 / 0.5899 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1361, allocations: 0 / 0.5899 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.1363, allocations: 67.83 kB / 0.5899 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1363, allocations: 0 / 0.5899 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1365, allocations: 35.67 kB / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1365, allocations: 7.938 kB / 0.59 GB, free: 13.98 MB / 0.4981 GB 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 8.219e-05/0.1366, allocations: 129.8 kB / 0.5901 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1366, allocations: 15.84 kB / 0.5901 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.1371, allocations: 174.7 kB / 0.5903 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1371, allocations: 3.984 kB / 0.5903 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1371, allocations: 0 / 0.5903 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1371, allocations: 3.984 kB / 0.5903 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1373, allocations: 229.4 kB / 0.5905 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1373, allocations: 4 kB / 0.5905 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1374, allocations: 35.91 kB / 0.5906 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1374, allocations: 0 / 0.5906 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1375, allocations: 0 / 0.5906 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1375, allocations: 0 / 0.5906 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1375, allocations: 7.938 kB / 0.5906 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.1379, allocations: 251.4 kB / 0.5908 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.1379, allocations: 100.8 kB / 0.5909 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.138, allocations: 0 / 0.5909 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1381, allocations: 23.91 kB / 0.5909 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1381, allocations: 7.984 kB / 0.5909 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1381, allocations: 4 kB / 0.5909 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.1382, allocations: 121.8 kB / 0.5911 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1382, allocations: 4 kB / 0.5911 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002882/0.1385, allocations: 64.31 kB / 0.5911 GB, free: 12.73 MB / 0.4981 GB 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.0007224/0.1392, allocations: 0.841 MB / 0.5919 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.1397, allocations: 171.8 kB / 0.5921 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1397, allocations: 0 / 0.5921 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1398, allocations: 67.95 kB / 0.5922 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1402, allocations: 19.92 kB / 0.5922 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.1423, allocations: 1.987 MB / 0.5941 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.1425, allocations: 0.7009 MB / 0.5948 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.043e-05/0.1426, allocations: 17.08 kB / 0.5948 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.1426, allocations: 35.42 kB / 0.5949 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of SimCode: time 1.293e-06/0.1426, allocations: 0 / 0.5949 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4243/0.567, allocations: 3.953 MB / 0.5987 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.5672, allocations: 206.8 kB / 0.5989 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.31, allocations: 0 / 0.5989 GB, free: 4.711 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)