Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_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.001069/0.001069, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001121/0.001121, allocations: 194.4 kB / 16.14 MB, free: 6.664 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.172/1.172, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.809/0.809, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 60.34 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1216, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005431/0.1271, allocations: 4.572 MB / 0.5883 GB, free: 328 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.1281, allocations: 0.8265 MB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.1282, allocations: 0 / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.1284, allocations: 23.83 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.1284, allocations: 31.77 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.1289, allocations: 155.5 kB / 0.5893 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1291, allocations: 167.4 kB / 0.5895 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.946e-05/0.1292, allocations: 21.12 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1293, allocations: 71.75 kB / 0.5895 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.1294, allocations: 71.72 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1294, allocations: 8 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.1297, allocations: 143.8 kB / 0.5898 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.1298, allocations: 27.84 kB / 0.5898 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.1298, allocations: 63.7 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1301, allocations: 231.6 kB / 0.5901 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1301, allocations: 4 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.61e-07/0.1301, allocations: 0 / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.1301, allocations: 0 / 0.5901 GB, free: 14.48 MB / 0.4981 GB 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.0007196/0.1309, allocations: 482.9 kB / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1309, allocations: 11.97 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.131, allocations: 42.75 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.131, allocations: 12.75 kB / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1311, allocations: 188.8 kB / 0.5908 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1312, allocations: 12.12 kB / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1312, allocations: 12 kB / 0.5908 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1315, allocations: 119.5 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.1315, allocations: 0 / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1315, allocations: 4 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1315, allocations: 7.938 kB / 0.5909 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.1319, allocations: 135.9 kB / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008479/0.1328, allocations: 472.3 kB / 0.5915 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.133, allocations: 118.5 kB / 0.5916 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.1332, allocations: 76.8 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.1344, allocations: 0.9568 MB / 0.5926 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1344, allocations: 38.5 kB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1344, allocations: 0 / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005803/0.135, allocations: 213.3 kB / 0.5929 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.135, allocations: 51.41 kB / 0.5929 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1352, allocations: 170.5 kB / 0.5931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1352, allocations: 29.7 kB / 0.5931 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.1353, allocations: 108.4 kB / 0.5932 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1353, allocations: 35.45 kB / 0.5932 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.1354, allocations: 53.7 kB / 0.5933 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.1355, allocations: 326.8 kB / 0.5936 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1357, allocations: 71.94 kB / 0.5937 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.1359, allocations: 115.4 kB / 0.5938 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.1363, allocations: 170.9 kB / 0.5939 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1363, allocations: 0 / 0.5939 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004982/0.1368, allocations: 249.1 kB / 0.5942 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1368, allocations: 4 kB / 0.5942 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1368, allocations: 7.984 kB / 0.5942 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.1368, allocations: 0 / 0.5942 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1371, allocations: 51.97 kB / 0.5942 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1371, allocations: 4.094 kB / 0.5942 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1373, allocations: 39.67 kB / 0.5943 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.1373, allocations: 7.984 kB / 0.5943 GB, free: 9.77 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 7.794e-05/0.1374, allocations: 125.8 kB / 0.5944 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.1374, allocations: 11.84 kB / 0.5944 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.1378, allocations: 185.2 kB / 0.5946 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1378, allocations: 4 kB / 0.5946 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1378, allocations: 0 / 0.5946 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1379, allocations: 0 / 0.5946 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.138, allocations: 225.4 kB / 0.5948 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1381, allocations: 0 / 0.5948 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1382, allocations: 35.91 kB / 0.5949 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1382, allocations: 0 / 0.5949 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1382, allocations: 0 / 0.5949 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1382, allocations: 4 kB / 0.5949 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1382, allocations: 0 / 0.5949 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.1386, allocations: 259.2 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.1387, allocations: 104.8 kB / 0.5952 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1387, allocations: 0 / 0.5952 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1389, allocations: 19.98 kB / 0.5952 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1389, allocations: 7.984 kB / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1389, allocations: 4 kB / 0.5952 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.814e-05/0.139, allocations: 117.8 kB / 0.5953 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.139, allocations: 0 / 0.5953 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002871/0.1393, allocations: 60.31 kB / 0.5954 GB, free: 8.535 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.0007242/0.14, allocations: 0.8559 MB / 0.5962 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.1404, allocations: 159.8 kB / 0.5964 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1405, allocations: 0 / 0.5964 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1406, allocations: 75.8 kB / 0.5965 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1409, allocations: 19.98 kB / 0.5965 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1431, allocations: 1.976 MB / 0.5984 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.1433, allocations: 0.7048 MB / 0.5991 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.1e-05/0.1434, allocations: 17.02 kB / 0.5991 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.1434, allocations: 35.42 kB / 0.5992 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1434, allocations: 4 kB / 0.5992 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2902/0.4337, allocations: 3.943 MB / 0.603 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.4339, allocations: 214.7 kB / 0.6032 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.068, allocations: 0 / 0.6032 GB, free: 0.5117 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)