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.001085/0.001085, 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.001189/0.001189, allocations: 196.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.367/1.367, 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.9198/0.9198, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 68.83 kB / 0.5055 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002614/0.1389, allocations: 1.572 MB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1402, allocations: 0.9022 MB / 0.5869 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.1403, allocations: 0 / 0.5869 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.1403, allocations: 3.938 kB / 0.5869 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1405, allocations: 23.78 kB / 0.5869 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1409, allocations: 143.6 kB / 0.5871 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.141, allocations: 75.72 kB / 0.5871 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.1411, allocations: 11.98 kB / 0.5871 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.1412, allocations: 31.86 kB / 0.5872 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1413, allocations: 43.77 kB / 0.5872 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1413, allocations: 8 kB / 0.5872 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.1417, allocations: 279.6 kB / 0.5875 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1417, allocations: 11.94 kB / 0.5875 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1418, allocations: 27.86 kB / 0.5875 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.142, allocations: 151.9 kB / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.142, allocations: 0 / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.142, allocations: 0 / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.142, allocations: 4 kB / 0.5877 GB, free: 1.172 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.0004815/0.1425, allocations: 407.1 kB / 0.5881 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1425, allocations: 12.03 kB / 0.5881 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.1426, allocations: 34.75 kB / 0.5881 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1427, allocations: 12.84 kB / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1429, allocations: 194.4 kB / 0.5883 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.1429, allocations: 4.375 kB / 0.5883 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1429, allocations: 7.938 kB / 0.5883 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1431, allocations: 61.61 kB / 0.5884 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1431, allocations: 4 kB / 0.5884 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1431, allocations: 0 / 0.5884 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1431, allocations: 0 / 0.5884 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1433, allocations: 47.89 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.1437, allocations: 292.8 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1439, allocations: 58.48 kB / 0.5888 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.144, allocations: 32.97 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.144, allocations: 4.062 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.144, allocations: 30.56 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.144, allocations: 0 / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003592/0.1444, allocations: 113.5 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1444, allocations: 51.41 kB / 0.589 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.1445, allocations: 129.8 kB / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1445, allocations: 25.7 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.1446, allocations: 96.14 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.1446, allocations: 27.58 kB / 0.5893 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1447, allocations: 21.72 kB / 0.5893 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.1448, allocations: 322.8 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.1448, allocations: 23.98 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.1449, allocations: 19.98 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1451, allocations: 57.2 kB / 0.5897 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1451, allocations: 0 / 0.5897 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002183/0.1453, allocations: 81.67 kB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1453, allocations: 18.48 kB / 0.5898 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1453, allocations: 0 / 0.5898 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1454, allocations: 3.938 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1455, allocations: 19.92 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1455, allocations: 4 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.1456, allocations: 7.844 kB / 0.5898 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1456, allocations: 4 kB / 0.5898 GB, free: 14.76 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.762e-05/0.1457, allocations: 113.8 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.1457, allocations: 11.91 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.146, allocations: 97.94 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.146, allocations: 0 / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.146, allocations: 0 / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.146, allocations: 3.938 kB / 0.59 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1462, allocations: 181.6 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1462, allocations: 7.922 kB / 0.5902 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.1463, allocations: 12 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1463, allocations: 4 kB / 0.5902 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1463, allocations: 7.984 kB / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1463, allocations: 0 / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1463, allocations: 0 / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1466, allocations: 187.6 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1466, allocations: 89 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1467, allocations: 3.938 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.1467, allocations: 8 kB / 0.5905 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1468, allocations: 7.984 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1468, allocations: 3.938 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.384e-05/0.1469, allocations: 99.27 kB / 0.5906 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1469, allocations: 3.938 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002508/0.1471, allocations: 23.94 kB / 0.5906 GB, free: 13.8 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.0005384/0.1477, allocations: 0.7319 MB / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1479, allocations: 59.91 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1479, allocations: 0 / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.148, allocations: 27.98 kB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1483, allocations: 19.92 kB / 0.5915 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1498, allocations: 1.452 MB / 0.5929 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.15, allocations: 0.6924 MB / 0.5935 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1501, allocations: 4 kB / 0.5936 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.1501, allocations: 23.42 kB / 0.5936 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1501, allocations: 0 / 0.5936 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.1671, allocations: 2.267 MB / 0.5958 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.277, allocations: 0.7031 kB / 0.5958 GB, free: 8.516 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)