Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.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.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",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.000741/0.000741, allocations: 91.84 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.004898/0.004898, allocations: 170 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.195/1.195, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7725/0.7725, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 8 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3392, allocations: 81.56 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.1419/0.4811, allocations: 161.8 MB / 0.7417 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.4856, allocations: 5.623 MB / 0.7472 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.4858, allocations: 7.938 kB / 0.7472 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.486, allocations: 75.52 kB / 0.7473 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.4862, allocations: 55.67 kB / 0.7473 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.184e-05/0.4863, allocations: 31.97 kB / 0.7474 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.4866, allocations: 255.1 kB / 0.7476 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.4867, allocations: 79.42 kB / 0.7477 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.4869, allocations: 79.64 kB / 0.7478 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.487, allocations: 67.58 kB / 0.7478 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.487, allocations: 4 kB / 0.7478 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.487, allocations: 4 kB / 0.7478 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.4871, allocations: 15.88 kB / 0.7478 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.4871, allocations: 85.38 kB / 0.7479 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.4873, allocations: 147.4 kB / 0.7481 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.4873, allocations: 0 / 0.7481 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4873, allocations: 0 / 0.7481 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4873, allocations: 0 / 0.7481 GB, free: 7.414 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0003989/0.4877, allocations: 419.9 kB / 0.7485 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.4877, allocations: 12.03 kB / 0.7485 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.4878, allocations: 46.55 kB / 0.7485 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.4878, allocations: 27.69 kB / 0.7486 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4881, allocations: 238.6 kB / 0.7488 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4881, allocations: 8.234 kB / 0.7488 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.4881, allocations: 12 kB / 0.7488 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.4883, allocations: 177.1 kB / 0.749 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.4883, allocations: 0 / 0.749 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4883, allocations: 4 kB / 0.749 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4883, allocations: 7.938 kB / 0.749 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4884, allocations: 71.84 kB / 0.749 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.4891, allocations: 1.148 MB / 0.7502 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.4892, allocations: 177.1 kB / 0.7503 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.4892, allocations: 84.14 kB / 0.7504 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.4892, allocations: 75.28 kB / 0.7505 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4893, allocations: 105.8 kB / 0.7506 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4893, allocations: 0 / 0.7506 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.379e-05/0.4893, allocations: 41.52 kB / 0.7506 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.4894, allocations: 186.1 kB / 0.7508 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.4896, allocations: 249 kB / 0.751 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.4896, allocations: 25.7 kB / 0.7511 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.4897, allocations: 128 kB / 0.7512 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.4897, allocations: 11.92 kB / 0.7512 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.4898, allocations: 17.7 kB / 0.7512 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.4898, allocations: 322.8 kB / 0.7515 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.4899, allocations: 8 kB / 0.7515 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.4899, allocations: 71.66 kB / 0.7516 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/0.49, allocations: 60.16 kB / 0.7517 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.49, allocations: 0 / 0.7517 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/0.4901, allocations: 85.38 kB / 0.7517 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4901, allocations: 4 kB / 0.7517 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4901, allocations: 0 / 0.7517 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.4902, allocations: 4.047 kB / 0.7518 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.4902, allocations: 11.97 kB / 0.7518 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.4902, allocations: 8.156 kB / 0.7518 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.4903, allocations: 15.75 kB / 0.7518 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4903, allocations: 4 kB / 0.7518 GB, free: 3.262 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.874e-05/0.4904, allocations: 217 kB / 0.752 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.4905, allocations: 116.8 kB / 0.7521 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.4905, allocations: 121.6 kB / 0.7522 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.282e-05/0.4906, allocations: 184.2 kB / 0.7524 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.91e-05/0.4906, allocations: 180.3 kB / 0.7526 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/0.4907, allocations: 180.2 kB / 0.7527 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.4909, allocations: 457 kB / 0.7532 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.4909, allocations: 105 kB / 0.7533 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.4909, allocations: 104.9 kB / 0.7534 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.361e-05/0.491, allocations: 192.2 kB / 0.7536 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.491, allocations: 180.2 kB / 0.7537 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.861e-05/0.4911, allocations: 176.3 kB / 0.7539 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.131e-05/0.4911, allocations: 176.3 kB / 0.7541 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.4912, allocations: 331.6 kB / 0.7544 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.4913, allocations: 193.8 kB / 0.7546 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.4914, allocations: 188.5 kB / 0.7548 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.4915, allocations: 105 kB / 0.7549 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.4915, allocations: 184.2 kB / 0.755 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.4915, allocations: 105 kB / 0.7551 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000139/0.4917, allocations: 188.5 kB / 0.7553 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4917, allocations: 0 / 0.7553 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002197/0.4919, allocations: 20 kB / 0.7553 GB, free: 15.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002679/0.4922, allocations: 0.8202 MB / 0.7561 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.241e-05/0.4923, allocations: 27.92 kB / 0.7562 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4923, allocations: 0 / 0.7562 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.4923, allocations: 3.938 kB / 0.7562 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.4928, allocations: 0.5668 MB / 0.7567 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4944, allocations: 2.078 MB / 0.7587 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.4946, allocations: 0.7127 MB / 0.7594 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.883e-05/0.4946, allocations: 25.53 kB / 0.7595 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.4947, allocations: 43.36 kB / 0.7595 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.4947, allocations: 0 / 0.7595 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/0.6103, allocations: 3.541 MB / 0.763 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.6104, allocations: 175.3 kB / 0.7631 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.124, allocations: 0 / 0.7631 GB, free: 7.344 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)