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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006176/0.006174, allocations: 170.9 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7506/0.7506, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 93.86 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004974, allocations: 11.98 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4264, allocations: 82.29 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.5814, allocations: 115.1 MB / 0.7619 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5817, allocations: 95.94 kB / 0.762 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.597, allocations: 5.598 MB / 0.7675 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.216e-06/0.597, allocations: 0 / 0.7675 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.5971, allocations: 4 kB / 0.7675 GB, free: 11.22 MB / 0.5417 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.0007594/0.5978, allocations: 462.6 kB / 0.7679 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5979, allocations: 8.031 kB / 0.7679 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.598, allocations: 38.56 kB / 0.768 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.598, allocations: 15.81 kB / 0.768 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.5985, allocations: 258.7 kB / 0.7682 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.5985, allocations: 4 kB / 0.7682 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.5986, allocations: 4 kB / 0.7682 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.5988, allocations: 127.3 kB / 0.7684 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.5989, allocations: 0 / 0.7684 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.5989, allocations: 0 / 0.7684 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5989, allocations: 4 kB / 0.7684 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.5992, allocations: 195.7 kB / 0.7686 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.5996, allocations: 261.3 kB / 0.7688 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.6001, allocations: 210.4 kB / 0.769 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.6001, allocations: 4 kB / 0.769 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.6004, allocations: 115.3 kB / 0.7691 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 3.988e-06/0.6004, allocations: 0 / 0.7691 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0005993/0.601, allocations: 265.3 kB / 0.7694 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.6011, allocations: 77.11 kB / 0.7694 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.6014, allocations: 234.4 kB / 0.7697 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.6014, allocations: 29.7 kB / 0.7697 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.6015, allocations: 112.1 kB / 0.7698 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.6016, allocations: 47.38 kB / 0.7698 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.6016, allocations: 4 kB / 0.7699 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6018, allocations: 334.8 kB / 0.7702 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.6019, allocations: 59.97 kB / 0.7702 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.6021, allocations: 84.92 kB / 0.7703 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.6022, allocations: 63.92 kB / 0.7704 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6022, allocations: 0 / 0.7704 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003905/0.6026, allocations: 214.8 kB / 0.7706 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.6026, allocations: 4 kB / 0.7706 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6027, allocations: 0 / 0.7706 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.6027, allocations: 8.062 kB / 0.7706 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.6028, allocations: 31.92 kB / 0.7706 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6029, allocations: 0 / 0.7706 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.6029, allocations: 23.83 kB / 0.7706 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.603, allocations: 4 kB / 0.7706 GB, free: 7.742 MB / 0.5417 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.6031, allocations: 136.2 kB / 0.7708 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.6032, allocations: 15.81 kB / 0.7708 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.6037, allocations: 286.5 kB / 0.7711 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6037, allocations: 4 kB / 0.7711 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6037, allocations: 0 / 0.7711 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6038, allocations: 3.984 kB / 0.7711 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.604, allocations: 277.5 kB / 0.7713 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6041, allocations: 0 / 0.7713 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.6042, allocations: 39.92 kB / 0.7714 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.6042, allocations: 0 / 0.7714 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.6042, allocations: 7.984 kB / 0.7714 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6042, allocations: 4 kB / 0.7714 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.6042, allocations: 4 kB / 0.7714 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.6046, allocations: 271.6 kB / 0.7716 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6048, allocations: 104.8 kB / 0.7717 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.6048, allocations: 8 kB / 0.7718 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.6049, allocations: 7.938 kB / 0.7718 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.6049, allocations: 15.98 kB / 0.7718 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.605, allocations: 11.98 kB / 0.7718 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002119/0.6052, allocations: 188.2 kB / 0.772 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.326e-06/0.6052, allocations: 0 / 0.772 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003002/0.6055, allocations: 51.92 kB / 0.772 GB, free: 6.23 MB / 0.5417 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00188/0.6074, allocations: 1.166 MB / 0.7732 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.6078, allocations: 169.5 kB / 0.7733 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6078, allocations: 0 / 0.7733 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.6079, allocations: 87.97 kB / 0.7734 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.6082, allocations: 41.66 kB / 0.7734 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.61, allocations: 1.271 MB / 0.7747 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.6104, allocations: 0.7367 MB / 0.7754 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.6105, allocations: 57.48 kB / 0.7755 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.6106, allocations: 63.41 kB / 0.7755 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.6106, allocations: 3.938 kB / 0.7755 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.6304, allocations: 4.966 MB / 0.7804 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.6308, allocations: 235.3 kB / 0.7806 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.492, allocations: 7.812 kB / 0.7806 GB, free: 13.68 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)