Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001217/0.001217, 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.001313/0.001313, allocations: 192.7 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8764/0.8764, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.56 kB / 0.5055 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 80.92 MB / 0.5845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002753/0.1332, allocations: 1.568 MB / 0.586 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1347, allocations: 0.9022 MB / 0.5869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.1348, allocations: 0 / 0.5869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.1348, allocations: 3.938 kB / 0.5869 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1351, allocations: 23.78 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1355, allocations: 139.6 kB / 0.587 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1357, allocations: 79.7 kB / 0.5871 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1358, allocations: 11.98 kB / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1359, allocations: 31.86 kB / 0.5872 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1361, allocations: 43.83 kB / 0.5872 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1361, allocations: 4 kB / 0.5872 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.1365, allocations: 279.6 kB / 0.5875 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.1365, allocations: 15.92 kB / 0.5875 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.1366, allocations: 27.88 kB / 0.5875 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1368, allocations: 155.9 kB / 0.5877 GB, free: 1.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1368, allocations: 0 / 0.5877 GB, free: 1.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1368, allocations: 0 / 0.5877 GB, free: 1.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1368, allocations: 0 / 0.5877 GB, free: 1.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005174/0.1374, allocations: 407 kB / 0.5881 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1374, allocations: 8.031 kB / 0.5881 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.99e-05/0.1374, allocations: 42.69 kB / 0.5881 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1375, allocations: 12.83 kB / 0.5881 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1377, allocations: 194.5 kB / 0.5883 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.1377, allocations: 384 / 0.5883 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.1378, allocations: 11.94 kB / 0.5883 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1379, allocations: 61.66 kB / 0.5884 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.138, allocations: 0 / 0.5884 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.138, allocations: 3.984 kB / 0.5884 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.138, allocations: 4 kB / 0.5884 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.1382, allocations: 47.91 kB / 0.5884 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.1386, allocations: 288.8 kB / 0.5887 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1388, allocations: 54.56 kB / 0.5888 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.1389, allocations: 28.97 kB / 0.5888 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1389, allocations: 4 kB / 0.5888 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1389, allocations: 30.56 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.545e-06/0.1389, allocations: 0 / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003582/0.1393, allocations: 113.5 kB / 0.5889 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1393, allocations: 55.41 kB / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.1394, allocations: 125.8 kB / 0.5891 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1394, allocations: 33.7 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.1395, allocations: 92.14 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.1395, allocations: 23.64 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.1396, allocations: 17.72 kB / 0.5893 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1397, allocations: 326.8 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.1398, allocations: 19.98 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.1398, allocations: 23.98 kB / 0.5896 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.14, allocations: 61.14 kB / 0.5897 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.14, allocations: 0 / 0.5897 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002162/0.1402, allocations: 89.66 kB / 0.5898 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1402, allocations: 4 kB / 0.5898 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1402, allocations: 0 / 0.5898 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1403, allocations: 3.938 kB / 0.5898 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1404, allocations: 19.98 kB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1404, allocations: 0 / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.1405, allocations: 11.84 kB / 0.5898 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.1405, allocations: 4 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 6.986e-05/0.1406, allocations: 117.8 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.1406, allocations: 7.906 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.1409, allocations: 102 kB / 0.59 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1409, allocations: 0 / 0.59 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1409, allocations: 3.984 kB / 0.59 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1409, allocations: 3.938 kB / 0.59 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1411, allocations: 185.6 kB / 0.5902 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1411, allocations: 4 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.1412, allocations: 11.98 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1412, allocations: 0 / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.1412, allocations: 4 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1412, allocations: 0 / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1412, allocations: 4 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1415, allocations: 191.3 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.1415, allocations: 85.02 kB / 0.5905 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1415, allocations: 192 / 0.5905 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.1416, allocations: 12 kB / 0.5905 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1417, allocations: 3.984 kB / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.1417, allocations: 11.94 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.1417, allocations: 101.1 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1417, allocations: 0 / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002459/0.142, allocations: 23.92 kB / 0.5906 GB, free: 13.83 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 (6): * Single equations (assignments): 6 * 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.0005237/0.1425, allocations: 0.728 MB / 0.5913 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1427, allocations: 59.97 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1428, allocations: 0 / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.1428, allocations: 35.91 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1432, allocations: 19.92 kB / 0.5915 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1446, allocations: 1.444 MB / 0.5929 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.1449, allocations: 0.6924 MB / 0.5935 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.1449, allocations: 11.98 kB / 0.5935 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.145, allocations: 23.42 kB / 0.5936 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.145, allocations: 4 kB / 0.5936 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.298/1.443, allocations: 2.256 MB / 0.5958 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.394/10.84, allocations: 0.7031 kB / 0.5958 GB, free: 8.547 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)