Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_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.001156/0.001156, 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.001271/0.001271, allocations: 194.2 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.39 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1407, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002883/0.1436, allocations: 1.631 MB / 0.5861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1458, allocations: 1.468 MB / 0.5875 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.1459, allocations: 7.938 kB / 0.5875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.1463, allocations: 59.73 kB / 0.5876 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1466, allocations: 51.77 kB / 0.5876 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1469, allocations: 105.4 kB / 0.5877 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1471, allocations: 167.6 kB / 0.5879 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.1472, allocations: 8.219 kB / 0.5879 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1473, allocations: 63.77 kB / 0.588 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1475, allocations: 67.75 kB / 0.588 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.1476, allocations: 8 kB / 0.588 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1477, allocations: 71.95 kB / 0.5881 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.1478, allocations: 43.84 kB / 0.5881 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.1479, allocations: 63.59 kB / 0.5882 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1482, allocations: 199.7 kB / 0.5884 GB, free: 448 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1482, allocations: 0 / 0.5884 GB, free: 448 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1482, allocations: 0 / 0.5884 GB, free: 448 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1482, allocations: 3.938 kB / 0.5884 GB, free: 444 kB / 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.0006464/0.1489, allocations: 462.6 kB / 0.5888 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1489, allocations: 12.03 kB / 0.5888 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.1489, allocations: 42.73 kB / 0.5889 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.149, allocations: 16.75 kB / 0.5889 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1494, allocations: 267.6 kB / 0.5892 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1494, allocations: 4 kB / 0.5892 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1494, allocations: 4 kB / 0.5892 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1496, allocations: 115.3 kB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1497, allocations: 0 / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1497, allocations: 8 kB / 0.5893 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1497, allocations: 0 / 0.5893 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.15, allocations: 135.9 kB / 0.5894 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.1503, allocations: 237.5 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.1507, allocations: 170.5 kB / 0.5898 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1508, allocations: 56.94 kB / 0.5899 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1508, allocations: 11.92 kB / 0.5899 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.1511, allocations: 110.6 kB / 0.59 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1511, allocations: 0 / 0.59 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004712/0.1516, allocations: 229.4 kB / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1517, allocations: 77.11 kB / 0.5903 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1519, allocations: 200.4 kB / 0.5905 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1519, allocations: 37.69 kB / 0.5905 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.152, allocations: 104.1 kB / 0.5906 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.152, allocations: 55.28 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.1521, allocations: 33.72 kB / 0.5907 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.1522, allocations: 338.8 kB / 0.591 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.617e-05/0.1523, allocations: 43.98 kB / 0.591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1524, allocations: 70.55 kB / 0.5911 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1526, allocations: 117.7 kB / 0.5912 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1526, allocations: 3.938 kB / 0.5912 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003168/0.153, allocations: 201.2 kB / 0.5914 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.153, allocations: 4 kB / 0.5914 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.153, allocations: 3.938 kB / 0.5914 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.153, allocations: 4 kB / 0.5914 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1531, allocations: 27.92 kB / 0.5915 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.1532, allocations: 0 / 0.5915 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.1532, allocations: 8 kB / 0.5915 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1532, allocations: 7.984 kB / 0.5915 GB, free: 13.02 MB / 0.4981 GB 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.0001194/0.1534, allocations: 145.7 kB / 0.5916 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1534, allocations: 15.81 kB / 0.5916 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.1535, allocations: 25.52 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1535, allocations: 0 / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1535, allocations: 0 / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1535, allocations: 4 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.1537, allocations: 245.4 kB / 0.5919 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1537, allocations: 3.938 kB / 0.5919 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.1538, allocations: 23.92 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1538, allocations: 0 / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1538, allocations: 8 kB / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1538, allocations: 4 kB / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1538, allocations: 0 / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.1542, allocations: 212.8 kB / 0.5921 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1542, allocations: 92.91 kB / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.1543, allocations: 4 kB / 0.5922 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.1543, allocations: 8 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.1544, allocations: 7.984 kB / 0.5922 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1544, allocations: 8 kB / 0.5922 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001353/0.1545, allocations: 167.9 kB / 0.5924 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1545, allocations: 0 / 0.5924 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000271/0.1548, allocations: 32 kB / 0.5924 GB, free: 11.93 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: 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.001556/0.1564, allocations: 1.106 MB / 0.5935 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.1567, allocations: 134.8 kB / 0.5936 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1567, allocations: 0 / 0.5936 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1568, allocations: 63.91 kB / 0.5937 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1571, allocations: 34.28 kB / 0.5937 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1593, allocations: 1.933 MB / 0.5956 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1595, allocations: 0.7202 MB / 0.5963 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000124/0.1597, allocations: 49.64 kB / 0.5964 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.1598, allocations: 59.41 kB / 0.5964 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.284e-06/0.1598, allocations: 0 / 0.5964 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.1817, allocations: 4.585 MB / 0.6009 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.866, allocations: 9.016 kB / 0.6009 GB, free: 3.457 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)