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.009884/0.009884, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.002278/0.002278, allocations: 200.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.403/2.403, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.351/1.351, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 76.14 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2879, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00606/0.294, allocations: 1.634 MB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003978/0.2981, allocations: 1.491 MB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.2983, allocations: 0 / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.2991, allocations: 47.77 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.2996, allocations: 59.69 kB / 0.6624 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.3003, allocations: 112.5 kB / 0.6625 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.3007, allocations: 175.6 kB / 0.6626 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.3008, allocations: 8.219 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3009, allocations: 55.78 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.3012, allocations: 67.8 kB / 0.6628 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.3012, allocations: 12 kB / 0.6628 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.3015, allocations: 63.97 kB / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3016, allocations: 47.83 kB / 0.6629 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3017, allocations: 59.59 kB / 0.6629 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.3022, allocations: 199.5 kB / 0.6631 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3023, allocations: 4 kB / 0.6631 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3023, allocations: 0 / 0.6631 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3023, allocations: 0 / 0.6631 GB, free: 9.969 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.0009622/0.3033, allocations: 478.2 kB / 0.6636 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3033, allocations: 8.031 kB / 0.6636 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.183e-05/0.3034, allocations: 42.73 kB / 0.6636 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.3035, allocations: 16.84 kB / 0.6637 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.3042, allocations: 259.6 kB / 0.6639 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3042, allocations: 4 kB / 0.6639 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3042, allocations: 12 kB / 0.6639 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3046, allocations: 111.3 kB / 0.664 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3046, allocations: 0 / 0.664 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3046, allocations: 0 / 0.664 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3047, allocations: 11.98 kB / 0.664 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.305, allocations: 147.7 kB / 0.6642 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3054, allocations: 233.5 kB / 0.6644 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.306, allocations: 170.6 kB / 0.6646 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3062, allocations: 60.83 kB / 0.6646 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.3062, allocations: 4 kB / 0.6646 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.3066, allocations: 111.3 kB / 0.6647 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.3066, allocations: 0 / 0.6647 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0007345/0.3073, allocations: 221.5 kB / 0.6649 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.3074, allocations: 81.11 kB / 0.665 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.3078, allocations: 208.1 kB / 0.6652 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3078, allocations: 29.7 kB / 0.6652 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3079, allocations: 112.1 kB / 0.6653 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.308, allocations: 55.56 kB / 0.6654 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.3081, allocations: 29.72 kB / 0.6654 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.3083, allocations: 338.8 kB / 0.6658 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3085, allocations: 43.98 kB / 0.6658 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3087, allocations: 81.58 kB / 0.6659 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.309, allocations: 129 kB / 0.666 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.309, allocations: 0 / 0.666 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004776/0.3095, allocations: 189.5 kB / 0.6662 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3095, allocations: 12.06 kB / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3095, allocations: 0 / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3096, allocations: 0 / 0.6662 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3098, allocations: 27.98 kB / 0.6662 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3098, allocations: 0 / 0.6662 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.3099, allocations: 7.953 kB / 0.6662 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.3099, allocations: 11.98 kB / 0.6662 GB, free: 6.527 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.0001816/0.3101, allocations: 146.2 kB / 0.6664 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.3102, allocations: 15.91 kB / 0.6664 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/0.3103, allocations: 33.52 kB / 0.6664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3103, allocations: 0 / 0.6664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3103, allocations: 0 / 0.6664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3103, allocations: 0 / 0.6664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.3107, allocations: 233.5 kB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3107, allocations: 4 kB / 0.6666 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.3108, allocations: 19.98 kB / 0.6667 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3108, allocations: 4 kB / 0.6667 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.3108, allocations: 3.984 kB / 0.6667 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3108, allocations: 4 kB / 0.6667 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3108, allocations: 4 kB / 0.6667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.3114, allocations: 212.9 kB / 0.6669 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.3115, allocations: 93 kB / 0.667 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3115, allocations: 8 kB / 0.667 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.3116, allocations: 4 kB / 0.667 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.3117, allocations: 11.98 kB / 0.667 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.3117, allocations: 4 kB / 0.667 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002173/0.3119, allocations: 163 kB / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3119, allocations: 0 / 0.6672 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004253/0.3124, allocations: 35.94 kB / 0.6672 GB, free: 5.449 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.003001/0.3154, allocations: 1.101 MB / 0.6683 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.3158, allocations: 123.5 kB / 0.6684 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3159, allocations: 0 / 0.6684 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.3161, allocations: 63.97 kB / 0.6684 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.3165, allocations: 31.81 kB / 0.6685 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.32, allocations: 1.948 MB / 0.6704 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.3205, allocations: 0.7279 MB / 0.6711 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.3207, allocations: 49.66 kB / 0.6711 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.3208, allocations: 59.41 kB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.3209, allocations: 0 / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.3639, allocations: 4.681 MB / 0.6758 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.92, allocations: 9.406 kB / 0.6758 GB, free: 12.9 MB / 0.5137 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)