Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001068/0.001069, 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.001084/0.001084, allocations: 193.3 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.288/1.288, 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/package.mo): time 0.7211/0.7211, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 72.56 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1592, allocations: 80.19 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002869/0.1621, allocations: 1.649 MB / 0.5818 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1642, allocations: 1.483 MB / 0.5833 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.1642, allocations: 0 / 0.5833 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.1646, allocations: 47.77 kB / 0.5833 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1648, allocations: 55.7 kB / 0.5834 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1651, allocations: 111.7 kB / 0.5835 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1653, allocations: 167.6 kB / 0.5836 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1653, allocations: 4.234 kB / 0.5836 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.1654, allocations: 59.72 kB / 0.5837 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1656, allocations: 71.78 kB / 0.5838 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1657, allocations: 12 kB / 0.5838 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1658, allocations: 59.98 kB / 0.5838 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.1658, allocations: 43.89 kB / 0.5839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.1659, allocations: 63.53 kB / 0.5839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1662, allocations: 203.6 kB / 0.5841 GB, free: 4.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1662, allocations: 4 kB / 0.5841 GB, free: 4.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1662, allocations: 0 / 0.5841 GB, free: 4.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1662, allocations: 0 / 0.5841 GB, free: 4.652 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006431/0.1669, allocations: 470.6 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1669, allocations: 8.031 kB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.167, allocations: 38.75 kB / 0.5846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.167, allocations: 16.75 kB / 0.5846 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1674, allocations: 263.4 kB / 0.5849 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1674, allocations: 11.94 kB / 0.5849 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1674, allocations: 8 kB / 0.5849 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.1676, allocations: 111.3 kB / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1677, allocations: 0 / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1677, allocations: 4 kB / 0.585 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1677, allocations: 0 / 0.585 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.1679, allocations: 143.8 kB / 0.5852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.1682, allocations: 225.5 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.1686, allocations: 178.5 kB / 0.5855 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/0.1687, allocations: 60.88 kB / 0.5856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1687, allocations: 8 kB / 0.5856 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.1689, allocations: 107.3 kB / 0.5857 GB, free: 2.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.169, allocations: 0 / 0.5857 GB, free: 2.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004674/0.1694, allocations: 228.3 kB / 0.5859 GB, free: 2.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1695, allocations: 85.09 kB / 0.586 GB, free: 2.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1697, allocations: 200.4 kB / 0.5862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1697, allocations: 29.7 kB / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.1698, allocations: 112.1 kB / 0.5863 GB, free: 2.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.1699, allocations: 55.28 kB / 0.5864 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.17, allocations: 33.7 kB / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1701, allocations: 334.8 kB / 0.5867 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.1702, allocations: 43.98 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1703, allocations: 74.55 kB / 0.5868 GB, free: 1.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.1705, allocations: 121.6 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1705, allocations: 0 / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002953/0.1708, allocations: 190.3 kB / 0.5871 GB, free: 1.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1708, allocations: 12.06 kB / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1709, allocations: 0 / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1709, allocations: 3.938 kB / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.171, allocations: 31.92 kB / 0.5872 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.171, allocations: 0 / 0.5872 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.1711, allocations: 7.984 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1711, allocations: 8 kB / 0.5872 GB, free: 1.234 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001066/0.1712, allocations: 139.6 kB / 0.5873 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.1712, allocations: 15.81 kB / 0.5874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.1713, allocations: 33.52 kB / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1713, allocations: 0 / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1713, allocations: 7.938 kB / 0.5874 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1713, allocations: 0 / 0.5874 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1715, allocations: 249.3 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1715, allocations: 0 / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.1716, allocations: 16 kB / 0.5876 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1716, allocations: 4 kB / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1716, allocations: 3.984 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1716, allocations: 4 kB / 0.5877 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1716, allocations: 4 kB / 0.5877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.172, allocations: 211.6 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.172, allocations: 88.92 kB / 0.5879 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.172, allocations: 7.938 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.1721, allocations: 4 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.1721, allocations: 11.98 kB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1722, allocations: 4 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1723, allocations: 164.2 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1723, allocations: 0 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1726, allocations: 39.98 kB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001532/0.1741, allocations: 1.108 MB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.1744, allocations: 131.9 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1744, allocations: 0 / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1746, allocations: 67.08 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1748, allocations: 24.92 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.1775, allocations: 1.939 MB / 0.5914 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1779, allocations: 0.7163 MB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.178, allocations: 49.59 kB / 0.5921 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1781, allocations: 59.41 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1781, allocations: 0 / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.2009, allocations: 4.575 MB / 0.5966 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.277/7.478, allocations: 12.22 kB / 0.5966 GB, free: 7.738 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)