Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0009861/0.0009861, allocations: 108 kB / 15.6 MB, free: 132 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.000993/0.000993, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8647/0.8647, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.02 kB / 0.5055 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 80.92 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003137/0.1296, allocations: 2.121 MB / 0.5865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1317, allocations: 1.029 MB / 0.5876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.1319, allocations: 3.938 kB / 0.5876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.237e-05/0.132, allocations: 23.73 kB / 0.5876 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.1324, allocations: 83.22 kB / 0.5877 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.1329, allocations: 187.5 kB / 0.5878 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.1333, allocations: 302.8 kB / 0.5881 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1335, allocations: 68.92 kB / 0.5882 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1336, allocations: 103.5 kB / 0.5883 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1339, allocations: 143.4 kB / 0.5884 GB, free: 376 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.1339, allocations: 20 kB / 0.5884 GB, free: 356 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.1344, allocations: 295.6 kB / 0.5887 GB, free: 60 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.1345, allocations: 55.75 kB / 0.5888 GB, free: 4 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1347, allocations: 115.4 kB / 0.5889 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.1351, allocations: 322.8 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1352, allocations: 0 / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1352, allocations: 0 / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.1352, allocations: 4 kB / 0.5892 GB, free: 15.57 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001285/0.1365, allocations: 0.6232 MB / 0.5898 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1365, allocations: 12.03 kB / 0.5898 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.552e-05/0.1366, allocations: 46.73 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.1369, allocations: 40.56 kB / 0.5899 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1372, allocations: 279.5 kB / 0.5902 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1373, allocations: 12.66 kB / 0.5902 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1373, allocations: 15.94 kB / 0.5902 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.1378, allocations: 232.5 kB / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1378, allocations: 0 / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1379, allocations: 8 kB / 0.5904 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1379, allocations: 4 kB / 0.5904 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.1385, allocations: 199 kB / 0.5906 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1396, allocations: 0.9423 MB / 0.5915 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.1403, allocations: 245.2 kB / 0.5918 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.1407, allocations: 109.6 kB / 0.5919 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1407, allocations: 4 kB / 0.5919 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1407, allocations: 38.56 kB / 0.5919 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.1407, allocations: 0 / 0.5919 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001128/0.1419, allocations: 333.3 kB / 0.5922 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1419, allocations: 89.09 kB / 0.5923 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.1422, allocations: 263 kB / 0.5926 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1422, allocations: 29.7 kB / 0.5926 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.1423, allocations: 156.2 kB / 0.5928 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1423, allocations: 63.12 kB / 0.5928 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.1424, allocations: 41.7 kB / 0.5929 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.1425, allocations: 338.8 kB / 0.5932 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1428, allocations: 83.92 kB / 0.5933 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.1432, allocations: 147.9 kB / 0.5934 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.1438, allocations: 241.7 kB / 0.5936 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1438, allocations: 0 / 0.5936 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008071/0.1447, allocations: 293.6 kB / 0.5939 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1447, allocations: 6.344 kB / 0.5939 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1447, allocations: 8 kB / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1447, allocations: 96 / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.145, allocations: 67.83 kB / 0.594 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.145, allocations: 7.984 kB / 0.594 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1453, allocations: 35.81 kB / 0.594 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.1453, allocations: 8 kB / 0.594 GB, free: 10.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001091/0.1454, allocations: 137.7 kB / 0.5942 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1455, allocations: 23.72 kB / 0.5942 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.1463, allocations: 291.1 kB / 0.5945 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1463, allocations: 4 kB / 0.5945 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1463, allocations: 0 / 0.5945 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1463, allocations: 3.984 kB / 0.5945 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.1467, allocations: 297.3 kB / 0.5948 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1467, allocations: 4 kB / 0.5948 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.147, allocations: 55.89 kB / 0.5948 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.147, allocations: 8 kB / 0.5948 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.147, allocations: 4 kB / 0.5948 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.147, allocations: 80 / 0.5948 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.147, allocations: 11.92 kB / 0.5948 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.1478, allocations: 450.1 kB / 0.5953 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.1479, allocations: 100.8 kB / 0.5954 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1479, allocations: 4 kB / 0.5954 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.1482, allocations: 27.95 kB / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.1483, allocations: 19.98 kB / 0.5954 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1483, allocations: 8 kB / 0.5954 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001538/0.1485, allocations: 190 kB / 0.5956 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1485, allocations: 0 / 0.5956 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003394/0.1488, allocations: 51.91 kB / 0.5957 GB, free: 8.539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001091/0.1499, allocations: 0.9908 MB / 0.5966 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007549/0.1507, allocations: 239.8 kB / 0.5968 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1507, allocations: 0 / 0.5968 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.151, allocations: 116.2 kB / 0.597 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.1516, allocations: 73.33 kB / 0.597 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.1553, allocations: 2.705 MB / 0.5997 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1556, allocations: 0.748 MB / 0.6004 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.1557, allocations: 38.27 kB / 0.6004 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1559, allocations: 83.41 kB / 0.6005 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1559, allocations: 0 / 0.6005 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.71/1.866, allocations: 6.45 MB / 0.6068 GB, free: 52.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/13.52, allocations: 4.703 kB / 0.6068 GB, free: 52.58 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)