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.007174/0.007174, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7988/0.7988, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.16 kB / 0.5851 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 80.93 MB / 0.6642 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002572/0.1457, allocations: 1.641 MB / 0.6658 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1476, allocations: 1.487 MB / 0.6672 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.1477, allocations: 0 / 0.6672 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1481, allocations: 55.7 kB / 0.6673 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1482, allocations: 55.75 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1485, allocations: 107.6 kB / 0.6674 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1487, allocations: 167.6 kB / 0.6676 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.1487, allocations: 8.234 kB / 0.6676 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.1488, allocations: 59.77 kB / 0.6677 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.149, allocations: 67.8 kB / 0.6677 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.149, allocations: 12 kB / 0.6677 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1491, allocations: 63.97 kB / 0.6678 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1492, allocations: 47.78 kB / 0.6678 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.1493, allocations: 55.66 kB / 0.6679 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1496, allocations: 199.5 kB / 0.6681 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1496, allocations: 4 kB / 0.6681 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1496, allocations: 0 / 0.6681 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1496, allocations: 0 / 0.6681 GB, free: 2.262 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006155/0.1502, allocations: 474.2 kB / 0.6685 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1503, allocations: 21.03 kB / 0.6686 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.1503, allocations: 38.73 kB / 0.6686 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.1504, allocations: 16.84 kB / 0.6686 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1507, allocations: 263.4 kB / 0.6689 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1508, allocations: 0 / 0.6689 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1508, allocations: 12 kB / 0.6689 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.151, allocations: 115.3 kB / 0.669 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1511, allocations: 0 / 0.669 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1511, allocations: 4 kB / 0.669 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1511, allocations: 0 / 0.669 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1513, allocations: 151.7 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.1516, allocations: 233.5 kB / 0.6694 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.1519, allocations: 170.6 kB / 0.6695 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.152, allocations: 56.83 kB / 0.6696 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1521, allocations: 7.984 kB / 0.6696 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.1523, allocations: 118.8 kB / 0.6697 GB, free: 448 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1524, allocations: 0 / 0.6697 GB, free: 448 kB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.000467/0.1528, allocations: 221.5 kB / 0.6699 GB, free: 220 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.1529, allocations: 81.09 kB / 0.67 GB, free: 120 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1531, allocations: 204.1 kB / 0.6702 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1531, allocations: 33.7 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1532, allocations: 108.1 kB / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.1533, allocations: 51.58 kB / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.1533, allocations: 37.64 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1534, allocations: 338.8 kB / 0.6707 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.1535, allocations: 43.98 kB / 0.6708 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1537, allocations: 70.55 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1539, allocations: 125.7 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1539, allocations: 0 / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003112/0.1542, allocations: 193.5 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1542, allocations: 8.062 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1542, allocations: 0 / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1542, allocations: 4 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1544, allocations: 23.98 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1544, allocations: 3.938 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.1544, allocations: 11.94 kB / 0.6712 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1545, allocations: 12 kB / 0.6712 GB, free: 14.82 MB / 0.5137 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.0001119/0.1546, allocations: 143.9 kB / 0.6713 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.1546, allocations: 15.91 kB / 0.6714 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1547, allocations: 29.52 kB / 0.6714 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1547, allocations: 0 / 0.6714 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1547, allocations: 0 / 0.6714 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1547, allocations: 4 kB / 0.6714 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1549, allocations: 241.4 kB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1549, allocations: 0 / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.155, allocations: 20 kB / 0.6716 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.155, allocations: 0 / 0.6716 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.155, allocations: 11.92 kB / 0.6716 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.155, allocations: 3.938 kB / 0.6716 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.155, allocations: 4 kB / 0.6717 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.1554, allocations: 215.7 kB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1554, allocations: 93 kB / 0.6719 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.1555, allocations: 4 kB / 0.672 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.1555, allocations: 8 kB / 0.672 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1556, allocations: 7.984 kB / 0.672 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1556, allocations: 4 kB / 0.672 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001331/0.1557, allocations: 159.2 kB / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1558, allocations: 0 / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002471/0.156, allocations: 39.92 kB / 0.6722 GB, free: 13.74 MB / 0.5137 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.001475/0.1575, allocations: 1.091 MB / 0.6732 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1578, allocations: 123.9 kB / 0.6733 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1578, allocations: 0 / 0.6733 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1579, allocations: 66.66 kB / 0.6734 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1582, allocations: 33.64 kB / 0.6734 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.1603, allocations: 1.952 MB / 0.6753 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1607, allocations: 0.7279 MB / 0.6761 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.1608, allocations: 45.66 kB / 0.6761 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1609, allocations: 63.41 kB / 0.6762 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1609, allocations: 0 / 0.6762 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.184, allocations: 4.67 MB / 0.6807 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.856, allocations: 22.94 kB / 0.6807 GB, free: 5.105 MB / 0.5137 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)