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.001111/0.001111, allocations: 173.9 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 0.7959/0.7959, 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 1.594/1.594, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008869/0.0008871, allocations: 103.2 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.226e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4884, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.6753, allocations: 114.3 MB / 0.7456 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.6756, allocations: 91.94 kB / 0.7457 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01437/0.69, allocations: 5.265 MB / 0.7508 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.164e-06/0.69, allocations: 0 / 0.7508 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.6901, allocations: 11.94 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.0006346/0.6907, allocations: 430 kB / 0.7513 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/0.6908, allocations: 8.031 kB / 0.7513 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.6909, allocations: 15.81 kB / 0.7513 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.6913, allocations: 258.5 kB / 0.7515 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.6914, allocations: 4 kB / 0.7515 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.6914, allocations: 4 kB / 0.7515 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003276/0.6917, allocations: 187.7 kB / 0.7517 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.692, allocations: 123.3 kB / 0.7518 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.692, allocations: 4 kB / 0.7518 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.692, allocations: 0 / 0.7518 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.692, allocations: 4 kB / 0.7518 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.6924, allocations: 230 kB / 0.7521 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.6928, allocations: 194.6 kB / 0.7522 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.6929, allocations: 64.78 kB / 0.7523 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.6929, allocations: 4 kB / 0.7523 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.6932, allocations: 111.3 kB / 0.7524 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.6932, allocations: 3.938 kB / 0.7524 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0003858/0.6936, allocations: 193.4 kB / 0.7526 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.6936, allocations: 77.11 kB / 0.7527 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.6939, allocations: 217.8 kB / 0.7529 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.6939, allocations: 33.7 kB / 0.7529 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.694, allocations: 108.1 kB / 0.753 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.6941, allocations: 43.45 kB / 0.7531 GB, free: 496 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.6941, allocations: 0 / 0.7531 GB, free: 496 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6942, allocations: 322.8 kB / 0.7534 GB, free: 164 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.6943, allocations: 67.84 kB / 0.7534 GB, free: 96 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6944, allocations: 72.11 kB / 0.7535 GB, free: 16 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.6946, allocations: 72.02 kB / 0.7536 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6946, allocations: 0 / 0.7536 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003184/0.6949, allocations: 197.5 kB / 0.7538 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6949, allocations: 4 kB / 0.7538 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6949, allocations: 0 / 0.7538 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.695, allocations: 4 kB / 0.7538 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.6951, allocations: 27.92 kB / 0.7538 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.6951, allocations: 0 / 0.7538 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.6952, allocations: 11.89 kB / 0.7538 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.6952, allocations: 12.03 kB / 0.7538 GB, free: 15.68 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 9.466e-05/0.6953, allocations: 106.7 kB / 0.7539 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002963/0.6956, allocations: 196 kB / 0.7541 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.6957, allocations: 15.81 kB / 0.7541 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.6961, allocations: 262.9 kB / 0.7544 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6961, allocations: 7.984 kB / 0.7544 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6961, allocations: 4.219 kB / 0.7544 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.6962, allocations: 3.984 kB / 0.7544 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.6964, allocations: 250 kB / 0.7546 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6964, allocations: 0 / 0.7546 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.6965, allocations: 35.92 kB / 0.7547 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6965, allocations: 0 / 0.7547 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.6966, allocations: 8 kB / 0.7547 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6966, allocations: 0 / 0.7547 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6966, allocations: 0 / 0.7547 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.6969, allocations: 259.8 kB / 0.7549 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.697, allocations: 108.8 kB / 0.755 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.6971, allocations: 4 kB / 0.755 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.6972, allocations: 4 kB / 0.755 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.6972, allocations: 23.91 kB / 0.755 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.6973, allocations: 8 kB / 0.7551 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001783/0.6974, allocations: 180.2 kB / 0.7552 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6974, allocations: 3.938 kB / 0.7552 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002762/0.6977, allocations: 47.94 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.001547/0.6993, allocations: 1.062 MB / 0.7563 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.6996, allocations: 147.8 kB / 0.7565 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6996, allocations: 4 kB / 0.7565 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.6997, allocations: 90.53 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.0002524/0.7, allocations: 25.53 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.0006965/0.7007, allocations: 307.2 kB / 0.7569 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.701, allocations: 0.7404 MB / 0.7576 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000126/0.7012, allocations: 53.8 kB / 0.7576 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.7013, allocations: 67.41 kB / 0.7577 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.7013, allocations: 4 kB / 0.7577 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.7272, allocations: 4.449 MB / 0.7621 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.7275, allocations: 187.1 kB / 0.7622 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.608, allocations: 1 kB / 0.7622 GB, free: 7.023 MB / 0.5417 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)