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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007968/0.0007969, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.006571/0.006572, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.319/1.319, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7365/0.7365, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 12 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4626, allocations: 81.57 MB / 0.5838 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001877/0.4645, allocations: 1.356 MB / 0.5851 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4664, allocations: 1.433 MB / 0.5865 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.4666, allocations: 0.7812 kB / 0.5865 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.467, allocations: 51.69 kB / 0.5865 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.4672, allocations: 41.44 kB / 0.5866 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.4675, allocations: 90.62 kB / 0.5867 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.4678, allocations: 154.4 kB / 0.5868 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.4678, allocations: 9.75 kB / 0.5868 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.4679, allocations: 59.36 kB / 0.5869 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.4681, allocations: 74.31 kB / 0.5869 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.4682, allocations: 5 kB / 0.587 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.4683, allocations: 61.89 kB / 0.587 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.4684, allocations: 43.8 kB / 0.5871 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.4685, allocations: 80.09 kB / 0.5871 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.4688, allocations: 180.9 kB / 0.5873 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4688, allocations: 5.406 kB / 0.5873 GB, free: 1.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4688, allocations: 0 / 0.5873 GB, free: 1.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.4688, allocations: 0 / 0.5873 GB, free: 1.496 MB / 430.1 MB 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.0005451/0.4694, allocations: 442.9 kB / 0.5877 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4694, allocations: 8.844 kB / 0.5877 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.4695, allocations: 39.22 kB / 0.5878 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.4695, allocations: 15.69 kB / 0.5878 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.4698, allocations: 258.8 kB / 0.588 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4699, allocations: 6.844 kB / 0.588 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4699, allocations: 4.578 kB / 0.588 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.4701, allocations: 118.1 kB / 0.5882 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.4701, allocations: 0.9688 kB / 0.5882 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4702, allocations: 5.734 kB / 0.5882 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4702, allocations: 0.7188 kB / 0.5882 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.4705, allocations: 145.7 kB / 0.5883 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.4707, allocations: 237.6 kB / 0.5885 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.4711, allocations: 175.3 kB / 0.5887 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4712, allocations: 55.92 kB / 0.5888 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.4712, allocations: 5.422 kB / 0.5888 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.4715, allocations: 113 kB / 0.5889 GB, free: 284 kB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.4715, allocations: 1.031 kB / 0.5889 GB, free: 284 kB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.000517/0.472, allocations: 221.7 kB / 0.5891 GB, free: 192 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4721, allocations: 83.17 kB / 0.5892 GB, free: 92 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.4723, allocations: 204 kB / 0.5894 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4724, allocations: 33.38 kB / 0.5894 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.4724, allocations: 110.1 kB / 0.5895 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.4725, allocations: 44.64 kB / 0.5895 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.4726, allocations: 18.48 kB / 0.5895 GB, free: 15.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4728, allocations: 332.9 kB / 0.5899 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4729, allocations: 46.55 kB / 0.5899 GB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.473, allocations: 79.23 kB / 0.59 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.4733, allocations: 122.2 kB / 0.5901 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4733, allocations: 0.9062 kB / 0.5901 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003715/0.4737, allocations: 196.6 kB / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4737, allocations: 6.422 kB / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4737, allocations: 0 / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4737, allocations: 1.312 kB / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.4739, allocations: 24.83 kB / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4739, allocations: 4.719 kB / 0.5903 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.474, allocations: 17.34 kB / 0.5903 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.474, allocations: 6.156 kB / 0.5903 GB, free: 15.21 MB / 446.1 MB 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 0.0001456/0.4741, allocations: 144.8 kB / 0.5905 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.4742, allocations: 16.12 kB / 0.5905 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.4743, allocations: 29.86 kB / 0.5905 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4743, allocations: 1.375 kB / 0.5905 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4743, allocations: 1.641 kB / 0.5905 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4743, allocations: 4.656 kB / 0.5905 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.4746, allocations: 244.1 kB / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4746, allocations: 0 / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.4747, allocations: 19.33 kB / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4747, allocations: 0 / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4747, allocations: 4.109 kB / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4747, allocations: 1.375 kB / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4747, allocations: 0.6562 kB / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.4751, allocations: 229.7 kB / 0.591 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.4752, allocations: 95.78 kB / 0.5911 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.4752, allocations: 7.578 kB / 0.5911 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.4753, allocations: 7.703 kB / 0.5911 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.4754, allocations: 14.34 kB / 0.5911 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.4754, allocations: 5.25 kB / 0.5911 GB, free: 14.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.4756, allocations: 158.7 kB / 0.5913 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4756, allocations: 0.7188 kB / 0.5913 GB, free: 14.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.4759, allocations: 36.77 kB / 0.5913 GB, free: 14.47 MB / 446.1 MB 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.001886/0.4777, allocations: 1.094 MB / 0.5924 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003361/0.4781, allocations: 126 kB / 0.5925 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4781, allocations: 0 / 0.5925 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.4783, allocations: 57.05 kB / 0.5926 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4786, allocations: 38.42 kB / 0.5926 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.4814, allocations: 1.959 MB / 0.5945 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.4817, allocations: 0.7253 MB / 0.5952 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.4819, allocations: 56.25 kB / 0.5953 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.482, allocations: 57.06 kB / 0.5953 GB, free: 11.47 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.482, allocations: 0 / 0.5953 GB, free: 11.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.5013, allocations: 4.148 MB / 0.5994 GB, free: 10.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.5016, allocations: 254.8 kB / 0.5996 GB, free: 10.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.318, allocations: 4.469 kB / 0.5996 GB, free: 10.25 MB / 446.1 MB (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/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)