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.002042/0.002042, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.295/1.295, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.219/2.219, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.001587/0.001587, allocations: 101.5 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.934e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7458, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/0.9843, allocations: 114.3 MB / 0.7456 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/0.9848, allocations: 91.94 kB / 0.7457 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02526/1.01, allocations: 5.277 MB / 0.7508 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/1.01, allocations: 0 / 0.7508 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.712e-05/1.01, allocations: 4 kB / 0.7508 GB, free: 2.957 MB / 0.5261 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.0008598/1.011, allocations: 426 kB / 0.7513 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/1.011, allocations: 8.031 kB / 0.7513 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/1.011, allocations: 15.81 kB / 0.7513 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/1.012, allocations: 266.5 kB / 0.7515 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/1.012, allocations: 0 / 0.7515 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/1.012, allocations: 4 kB / 0.7515 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006067/1.013, allocations: 187.8 kB / 0.7517 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/1.013, allocations: 115.3 kB / 0.7518 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.013, allocations: 0 / 0.7518 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/1.013, allocations: 4 kB / 0.7518 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.013, allocations: 0 / 0.7518 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/1.014, allocations: 238 kB / 0.7521 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/1.014, allocations: 194.6 kB / 0.7522 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/1.015, allocations: 64.77 kB / 0.7523 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/1.015, allocations: 4 kB / 0.7523 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/1.015, allocations: 115.2 kB / 0.7524 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/1.015, allocations: 4 kB / 0.7524 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0006751/1.016, allocations: 193.4 kB / 0.7526 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/1.016, allocations: 77.11 kB / 0.7527 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/1.016, allocations: 217.8 kB / 0.7529 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/1.016, allocations: 29.7 kB / 0.7529 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/1.016, allocations: 108.1 kB / 0.753 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/1.016, allocations: 43.45 kB / 0.7531 GB, free: 500 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/1.016, allocations: 0 / 0.7531 GB, free: 500 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.017, allocations: 326.8 kB / 0.7534 GB, free: 164 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/1.017, allocations: 63.91 kB / 0.7534 GB, free: 100 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/1.017, allocations: 80.05 kB / 0.7535 GB, free: 12 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/1.017, allocations: 67.16 kB / 0.7536 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.017, allocations: 0 / 0.7536 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005576/1.018, allocations: 197.5 kB / 0.7538 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/1.018, allocations: 9.875 kB / 0.7538 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.018, allocations: 0 / 0.7538 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.018, allocations: 4.062 kB / 0.7538 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/1.018, allocations: 27.92 kB / 0.7538 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.018, allocations: 4 kB / 0.7538 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/1.019, allocations: 11.89 kB / 0.7538 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/1.019, allocations: 4 kB / 0.7538 GB, free: 15.69 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 () * 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.0001423/1.019, allocations: 106.5 kB / 0.7539 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005291/1.019, allocations: 197.4 kB / 0.7541 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/1.019, allocations: 15.81 kB / 0.7541 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007531/1.02, allocations: 266.9 kB / 0.7544 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.02, allocations: 7.984 kB / 0.7544 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.02, allocations: 0 / 0.7544 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.02, allocations: 224 / 0.7544 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/1.021, allocations: 250.1 kB / 0.7546 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.021, allocations: 3.938 kB / 0.7546 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/1.021, allocations: 31.92 kB / 0.7547 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.021, allocations: 4 kB / 0.7547 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.021, allocations: 4 kB / 0.7547 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/1.021, allocations: 8 kB / 0.7547 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.021, allocations: 0 / 0.7547 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/1.022, allocations: 255.8 kB / 0.7549 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/1.022, allocations: 108.8 kB / 0.755 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/1.022, allocations: 0 / 0.755 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.022, allocations: 4 kB / 0.755 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/1.022, allocations: 15.97 kB / 0.755 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.022, allocations: 16 kB / 0.7551 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002945/1.022, allocations: 180.2 kB / 0.7552 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.457e-06/1.022, allocations: 0 / 0.7552 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005477/1.023, allocations: 51.88 kB / 0.7553 GB, free: 14.11 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) * 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.002594/1.026, allocations: 1.067 MB / 0.7563 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004842/1.026, allocations: 147.9 kB / 0.7565 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.026, allocations: 0 / 0.7565 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/1.026, allocations: 94.47 kB / 0.7565 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/1.027, allocations: 21.47 kB / 0.7566 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/1.028, allocations: 315.1 kB / 0.7569 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/1.029, allocations: 0.7366 MB / 0.7576 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002333/1.029, allocations: 49.81 kB / 0.7576 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/1.029, allocations: 67.41 kB / 0.7577 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/1.029, allocations: 0 / 0.7577 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/1.075, allocations: 4.46 MB / 0.7621 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/1.075, allocations: 190.1 kB / 0.7622 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.776, allocations: 1.5 kB / 0.7622 GB, free: 7.02 MB / 0.5417 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)