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.008141/0.008141, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002147/0.002147, allocations: 198.8 kB / 16.68 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9905/0.9905, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 0.5858 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3975, allocations: 81.03 MB / 0.6649 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00255/0.4001, allocations: 1.636 MB / 0.6665 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.4019, allocations: 1.476 MB / 0.6679 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.4019, allocations: 5.219 kB / 0.6679 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.4024, allocations: 46.8 kB / 0.668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.4026, allocations: 61.09 kB / 0.668 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.4028, allocations: 106.2 kB / 0.6681 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.403, allocations: 169.6 kB / 0.6683 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.4031, allocations: 5.609 kB / 0.6683 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.4032, allocations: 60.98 kB / 0.6684 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.4033, allocations: 70.67 kB / 0.6684 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.4034, allocations: 10.41 kB / 0.6684 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.4035, allocations: 66.5 kB / 0.6685 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.4036, allocations: 46.03 kB / 0.6685 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.4036, allocations: 60.53 kB / 0.6686 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.4039, allocations: 202.2 kB / 0.6688 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4039, allocations: 0 / 0.6688 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4039, allocations: 5.344 kB / 0.6688 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.404, allocations: 0 / 0.6688 GB, free: 4.027 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.0005404/0.4045, allocations: 470 kB / 0.6692 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4045, allocations: 10.31 kB / 0.6693 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.4046, allocations: 37.38 kB / 0.6693 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.4047, allocations: 15.28 kB / 0.6693 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.405, allocations: 271.1 kB / 0.6696 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.405, allocations: 9.234 kB / 0.6696 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4051, allocations: 12.45 kB / 0.6696 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.4053, allocations: 115.3 kB / 0.6697 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4053, allocations: 0 / 0.6697 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4053, allocations: 0.7812 kB / 0.6697 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4053, allocations: 1.438 kB / 0.6697 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.4055, allocations: 140.2 kB / 0.6698 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.4057, allocations: 239.4 kB / 0.6701 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.4061, allocations: 170.8 kB / 0.6702 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.4062, allocations: 50.06 kB / 0.6703 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.4062, allocations: 11.89 kB / 0.6703 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.4065, allocations: 115.1 kB / 0.6704 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.4065, allocations: 1.219 kB / 0.6704 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004937/0.407, allocations: 227.2 kB / 0.6706 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.407, allocations: 78.7 kB / 0.6707 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.4072, allocations: 203.3 kB / 0.6709 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.4072, allocations: 32.3 kB / 0.6709 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.4073, allocations: 109.9 kB / 0.671 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.4073, allocations: 52.39 kB / 0.6711 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.4074, allocations: 38.27 kB / 0.6711 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.4074, allocations: 326.8 kB / 0.6714 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/0.4075, allocations: 57.19 kB / 0.6715 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4076, allocations: 70.77 kB / 0.6715 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4079, allocations: 121.2 kB / 0.6717 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4079, allocations: 3.984 kB / 0.6717 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003032/0.4082, allocations: 191.4 kB / 0.6718 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4082, allocations: 14.3 kB / 0.6719 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4082, allocations: 0 / 0.6719 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4082, allocations: 1.188 kB / 0.6719 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4084, allocations: 33.02 kB / 0.6719 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4084, allocations: 1.094 kB / 0.6719 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.4084, allocations: 7.578 kB / 0.6719 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4085, allocations: 9.031 kB / 0.6719 GB, free: 1.434 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 8.976e-05/0.4086, allocations: 138.8 kB / 0.672 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.4086, allocations: 16.22 kB / 0.672 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.4087, allocations: 29.88 kB / 0.6721 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4087, allocations: 2 kB / 0.6721 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4087, allocations: 0.9375 kB / 0.6721 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4087, allocations: 3.938 kB / 0.6721 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.4088, allocations: 247.2 kB / 0.6723 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4089, allocations: 0 / 0.6723 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.4089, allocations: 19.62 kB / 0.6723 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4089, allocations: 0 / 0.6723 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4089, allocations: 11.39 kB / 0.6723 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.409, allocations: 1.062 kB / 0.6723 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.409, allocations: 0 / 0.6723 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.4093, allocations: 212.6 kB / 0.6726 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.4093, allocations: 94.2 kB / 0.6726 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.4093, allocations: 2.781 kB / 0.6726 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.4094, allocations: 9.469 kB / 0.6727 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.4094, allocations: 21.78 kB / 0.6727 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.4095, allocations: 8.266 kB / 0.6727 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000114/0.4096, allocations: 152.5 kB / 0.6728 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4096, allocations: 1.031 kB / 0.6728 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002571/0.4099, allocations: 37.89 kB / 0.6729 GB, free: 0.6172 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.002072/0.4119, allocations: 1.084 MB / 0.6739 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.4123, allocations: 125.2 kB / 0.674 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4123, allocations: 0 / 0.674 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.4124, allocations: 66.91 kB / 0.6741 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.4127, allocations: 43.94 kB / 0.6741 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.4152, allocations: 1.952 MB / 0.6761 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.4156, allocations: 0.7178 MB / 0.6768 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.4157, allocations: 45.86 kB / 0.6768 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4158, allocations: 58.19 kB / 0.6769 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.4159, allocations: 0 / 0.6769 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.4455, allocations: 4.688 MB / 0.6814 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.634, allocations: 13.66 kB / 0.6814 GB, free: 10.95 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)