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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.008726/0.008726, allocations: 171.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.828/0.828, allocations: 135.2 MB / 151 MB, free: 13.82 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.416/1.416, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.0008553/0.0008552, allocations: 101.6 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4403, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5949, allocations: 115.1 MB / 0.7619 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5952, allocations: 91.94 kB / 0.762 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.6106, allocations: 5.592 MB / 0.7675 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6107, allocations: 0 / 0.7675 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.6107, allocations: 4 kB / 0.7675 GB, free: 11.2 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.000796/0.6115, allocations: 466.6 kB / 0.7679 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6116, allocations: 8.031 kB / 0.7679 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.546e-05/0.6116, allocations: 46.55 kB / 0.768 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.6117, allocations: 15.81 kB / 0.768 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.6121, allocations: 250.7 kB / 0.7682 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.6122, allocations: 4 kB / 0.7682 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.6122, allocations: 4 kB / 0.7682 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.6124, allocations: 135.2 kB / 0.7684 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6125, allocations: 0 / 0.7684 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.6125, allocations: 4 kB / 0.7684 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.6125, allocations: 3.984 kB / 0.7684 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.6128, allocations: 195.7 kB / 0.7686 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.6132, allocations: 257.3 kB / 0.7688 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.6136, allocations: 202.5 kB / 0.769 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.6137, allocations: 15.98 kB / 0.769 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.6139, allocations: 119.3 kB / 0.7691 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.614, allocations: 0 / 0.7691 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0006114/0.6146, allocations: 261 kB / 0.7694 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.6147, allocations: 81.11 kB / 0.7695 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.615, allocations: 230.1 kB / 0.7697 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.6151, allocations: 30.03 kB / 0.7697 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.6152, allocations: 116.1 kB / 0.7698 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.6153, allocations: 39.45 kB / 0.7698 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.6153, allocations: 7.938 kB / 0.7699 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6155, allocations: 330.8 kB / 0.7702 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6156, allocations: 59.95 kB / 0.7702 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.6157, allocations: 78.55 kB / 0.7703 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.6159, allocations: 71.94 kB / 0.7704 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6159, allocations: 0 / 0.7704 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003611/0.6162, allocations: 213.4 kB / 0.7706 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.6163, allocations: 4 kB / 0.7706 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6163, allocations: 4 kB / 0.7706 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.6163, allocations: 0 / 0.7706 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.6165, allocations: 27.92 kB / 0.7706 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6165, allocations: 0 / 0.7706 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.6166, allocations: 19.84 kB / 0.7706 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6166, allocations: 12.02 kB / 0.7706 GB, free: 7.715 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.0001454/0.6167, allocations: 136 kB / 0.7708 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.6168, allocations: 15.81 kB / 0.7708 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.6173, allocations: 282.5 kB / 0.7711 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.6173, allocations: 4 kB / 0.7711 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6174, allocations: 0 / 0.7711 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6174, allocations: 0 / 0.7711 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.6177, allocations: 285.5 kB / 0.7713 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6177, allocations: 4 kB / 0.7713 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.6178, allocations: 27.98 kB / 0.7714 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.6178, allocations: 7.938 kB / 0.7714 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.6178, allocations: 4 kB / 0.7714 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6178, allocations: 4 kB / 0.7714 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6178, allocations: 0 / 0.7714 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.6183, allocations: 271.6 kB / 0.7716 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/0.6184, allocations: 104.8 kB / 0.7717 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.6184, allocations: 12 kB / 0.7717 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.6185, allocations: 11.98 kB / 0.7718 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.6186, allocations: 15.98 kB / 0.7718 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.6186, allocations: 4 kB / 0.7718 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002316/0.6188, allocations: 188.2 kB / 0.772 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6188, allocations: 3.938 kB / 0.772 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003087/0.6192, allocations: 55.92 kB / 0.772 GB, free: 6.203 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.002006/0.6212, allocations: 1.173 MB / 0.7732 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.6215, allocations: 163 kB / 0.7733 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6216, allocations: 3.938 kB / 0.7733 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.6217, allocations: 91.89 kB / 0.7734 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.622, allocations: 29.73 kB / 0.7734 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.6241, allocations: 1.283 MB / 0.7747 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.6246, allocations: 0.7328 MB / 0.7754 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.6248, allocations: 57.5 kB / 0.7755 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.6249, allocations: 67.39 kB / 0.7755 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of SimCode: time 7.374e-06/0.625, allocations: 4 kB / 0.7755 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.6456, allocations: 4.966 MB / 0.7804 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.6458, allocations: 234 kB / 0.7806 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.497, allocations: 0 / 0.7806 GB, free: 13.66 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)