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.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 152 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.001996/0.001996, allocations: 194.6 kB / 16.53 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8971/0.8971, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.69 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005217/0.1428, allocations: 4.532 MB / 0.5889 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.1438, allocations: 0.8186 MB / 0.5897 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.1438, allocations: 0 / 0.5897 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.144, allocations: 31.78 kB / 0.5897 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.144, allocations: 31.69 kB / 0.5898 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1444, allocations: 167.4 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1446, allocations: 175.4 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.1447, allocations: 21.11 kB / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1448, allocations: 83.75 kB / 0.5902 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1449, allocations: 79.66 kB / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.145, allocations: 16 kB / 0.5903 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.1453, allocations: 151.8 kB / 0.5904 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1453, allocations: 35.89 kB / 0.5905 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.1454, allocations: 63.73 kB / 0.5905 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1457, allocations: 239.6 kB / 0.5908 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1457, allocations: 0 / 0.5908 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1457, allocations: 0 / 0.5908 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.1457, allocations: 0 / 0.5908 GB, free: 13.98 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.0007797/0.1465, allocations: 478.9 kB / 0.5912 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1465, allocations: 12.03 kB / 0.5912 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.1466, allocations: 42.73 kB / 0.5913 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1466, allocations: 20.69 kB / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1468, allocations: 187.4 kB / 0.5915 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1468, allocations: 12.12 kB / 0.5915 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1468, allocations: 11.94 kB / 0.5915 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.1471, allocations: 120 kB / 0.5916 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.1471, allocations: 0 / 0.5916 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1471, allocations: 8 kB / 0.5916 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1471, allocations: 0 / 0.5916 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.1475, allocations: 143.8 kB / 0.5917 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008675/0.1484, allocations: 468.4 kB / 0.5922 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1487, allocations: 122.5 kB / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1489, allocations: 72.81 kB / 0.5924 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.1501, allocations: 0.9568 MB / 0.5933 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1502, allocations: 46.44 kB / 0.5934 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1502, allocations: 0 / 0.5934 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006228/0.1508, allocations: 209.4 kB / 0.5936 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1509, allocations: 55.41 kB / 0.5936 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.151, allocations: 161.8 kB / 0.5938 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.151, allocations: 37.69 kB / 0.5938 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.1511, allocations: 100.4 kB / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1511, allocations: 39.45 kB / 0.5939 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.1512, allocations: 53.69 kB / 0.594 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.1513, allocations: 318.8 kB / 0.5943 GB, free: 10 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1515, allocations: 83.95 kB / 0.5944 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.1518, allocations: 107.3 kB / 0.5945 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.1522, allocations: 167.4 kB / 0.5946 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1522, allocations: 0 / 0.5946 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005388/0.1527, allocations: 256.5 kB / 0.5949 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1527, allocations: 8.094 kB / 0.5949 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1527, allocations: 0 / 0.5949 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1528, allocations: 4 kB / 0.5949 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.153, allocations: 51.91 kB / 0.5949 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.153, allocations: 7.984 kB / 0.5949 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1532, allocations: 31.67 kB / 0.595 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1532, allocations: 8 kB / 0.595 GB, free: 9.266 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.383e-05/0.1533, allocations: 129.7 kB / 0.5951 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.1533, allocations: 15.84 kB / 0.5951 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.1538, allocations: 170.9 kB / 0.5953 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1538, allocations: 0 / 0.5953 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1538, allocations: 4 kB / 0.5953 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1538, allocations: 3.984 kB / 0.5953 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.154, allocations: 225.4 kB / 0.5955 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1541, allocations: 0 / 0.5955 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1542, allocations: 31.91 kB / 0.5955 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1542, allocations: 7.938 kB / 0.5955 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1542, allocations: 4 kB / 0.5955 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1542, allocations: 0 / 0.5955 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1542, allocations: 0 / 0.5955 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.1547, allocations: 257.7 kB / 0.5958 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.1548, allocations: 104.8 kB / 0.5959 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.1548, allocations: 0 / 0.5959 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.155, allocations: 15.98 kB / 0.5959 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1551, allocations: 7.984 kB / 0.5959 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1551, allocations: 4 kB / 0.5959 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001138/0.1552, allocations: 124.9 kB / 0.596 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1552, allocations: 0 / 0.596 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005076/0.1557, allocations: 68.3 kB / 0.5961 GB, free: 8.02 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.0008221/0.1565, allocations: 0.8465 MB / 0.5969 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.157, allocations: 171.8 kB / 0.5971 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.157, allocations: 0 / 0.5971 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.1572, allocations: 71.88 kB / 0.5972 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1576, allocations: 21.53 kB / 0.5972 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.1598, allocations: 1.936 MB / 0.5991 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1601, allocations: 0.7084 MB / 0.5998 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.112e-05/0.1602, allocations: 24.62 kB / 0.5998 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.1603, allocations: 35.42 kB / 0.5998 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1603, allocations: 0 / 0.5998 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.093/1.253, allocations: 4.211 MB / 0.6039 GB, free: 53.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/12.02, allocations: 6.016 kB / 0.6039 GB, free: 53.49 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)