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.0008423/0.0008424, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001019/0.001019, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.764/0.764, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 0.5035 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4401, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.1879/0.628, allocations: 150.9 MB / 0.7305 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004932/0.633, allocations: 5.257 MB / 0.7356 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.6332, allocations: 7.938 kB / 0.7356 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.6335, allocations: 63.56 kB / 0.7357 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.6337, allocations: 51.67 kB / 0.7357 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.6338, allocations: 27.91 kB / 0.7358 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.6341, allocations: 223.1 kB / 0.736 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.6343, allocations: 71.2 kB / 0.736 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.6345, allocations: 79.64 kB / 0.7361 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.6346, allocations: 55.7 kB / 0.7362 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.6346, allocations: 8 kB / 0.7362 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.6346, allocations: 0 / 0.7362 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.6347, allocations: 23.86 kB / 0.7362 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.6347, allocations: 53.58 kB / 0.7363 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.6348, allocations: 111.7 kB / 0.7364 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6349, allocations: 0 / 0.7364 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6349, allocations: 0 / 0.7364 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.6349, allocations: 0 / 0.7364 GB, free: 3.238 MB / 0.5606 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.0004835/0.6354, allocations: 420.8 kB / 0.7368 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6354, allocations: 12.03 kB / 0.7368 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.6354, allocations: 42.56 kB / 0.7368 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.6355, allocations: 15.81 kB / 0.7368 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.6357, allocations: 242.7 kB / 0.7371 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6358, allocations: 8.234 kB / 0.7371 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.6358, allocations: 12 kB / 0.7371 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.636, allocations: 169.1 kB / 0.7372 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.636, allocations: 3.938 kB / 0.7372 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.6361, allocations: 15.95 kB / 0.7373 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6361, allocations: 4 kB / 0.7373 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.6362, allocations: 67.83 kB / 0.7373 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/0.637, allocations: 1.144 MB / 0.7384 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.6371, allocations: 181.1 kB / 0.7386 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.6371, allocations: 80.14 kB / 0.7387 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.6371, allocations: 79.22 kB / 0.7388 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.6372, allocations: 109.8 kB / 0.7389 GB, free: 444 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6372, allocations: 0 / 0.7389 GB, free: 444 kB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.862e-05/0.6373, allocations: 45.5 kB / 0.7389 GB, free: 392 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.6373, allocations: 186.1 kB / 0.7391 GB, free: 180 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.6376, allocations: 245 kB / 0.7393 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.6376, allocations: 29.69 kB / 0.7394 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.6377, allocations: 131.9 kB / 0.7395 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-06/0.6377, allocations: 0 / 0.7395 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.6377, allocations: 0 / 0.7395 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6378, allocations: 326.8 kB / 0.7398 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.6378, allocations: 19.92 kB / 0.7398 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.6379, allocations: 67.66 kB / 0.7399 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.6379, allocations: 16 kB / 0.7399 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.638, allocations: 4 kB / 0.7399 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001502/0.6381, allocations: 89.31 kB / 0.74 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6381, allocations: 8 kB / 0.74 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6381, allocations: 0 / 0.74 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.6382, allocations: 0 / 0.74 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.6382, allocations: 8 kB / 0.74 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.6382, allocations: 4 kB / 0.74 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.6383, allocations: 19.69 kB / 0.74 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.6383, allocations: 12.16 kB / 0.74 GB, free: 15.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.6384, allocations: 202.6 kB / 0.7402 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.6385, allocations: 120.8 kB / 0.7403 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.6386, allocations: 129.6 kB / 0.7405 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/0.6387, allocations: 176.3 kB / 0.7406 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.185e-05/0.6387, allocations: 184.2 kB / 0.7408 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/0.6388, allocations: 188.2 kB / 0.741 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.639, allocations: 445.2 kB / 0.7414 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.501e-05/0.6391, allocations: 108.9 kB / 0.7415 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.6391, allocations: 105 kB / 0.7416 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.718e-05/0.6392, allocations: 184.2 kB / 0.7418 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.6392, allocations: 184.2 kB / 0.742 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.887e-05/0.6393, allocations: 180.2 kB / 0.7421 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.687e-05/0.6393, allocations: 184.2 kB / 0.7423 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.6395, allocations: 315.6 kB / 0.7426 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.6396, allocations: 205.8 kB / 0.7428 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.6397, allocations: 184.2 kB / 0.743 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.6398, allocations: 104.9 kB / 0.7431 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.6398, allocations: 176.4 kB / 0.7433 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.6399, allocations: 109 kB / 0.7434 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001647/0.64, allocations: 192.4 kB / 0.7435 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.64, allocations: 0 / 0.7435 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002498/0.6403, allocations: 24 kB / 0.7436 GB, free: 11.31 MB / 0.5762 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 (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.0003403/0.6406, allocations: 0.8164 MB / 0.7444 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.6407, allocations: 19.94 kB / 0.7444 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.6407, allocations: 8.25 kB / 0.7444 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6408, allocations: 0 / 0.7444 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.6413, allocations: 0.5774 MB / 0.745 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.6426, allocations: 0.9478 MB / 0.7459 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.6429, allocations: 0.7127 MB / 0.7466 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.765e-05/0.643, allocations: 25.53 kB / 0.7466 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.643, allocations: 39.42 kB / 0.7466 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.643, allocations: 0 / 0.7466 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.6576, allocations: 3.512 MB / 0.7501 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.6578, allocations: 168.1 kB / 0.7502 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.364, allocations: 0 / 0.7502 GB, free: 4.453 MB / 0.5762 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/linux/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) Environment - environmentSimulation: