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: translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001424/0.001424, allocations: 191.8 kB / 16.13 MB, free: 6.668 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7979/0.7979, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.001191, allocations: 60.03 kB / 0.5011 GB, free: 9.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2005, allocations: 80.21 MB / 0.5794 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5598/0.7604, allocations: 163.9 MB / 0.7394 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00587/0.7663, allocations: 5.71 MB / 0.745 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.7666, allocations: 7.719 kB / 0.745 GB, free: 7.039 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.7671, allocations: 76.56 kB / 0.7451 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.7674, allocations: 55.92 kB / 0.7452 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.7675, allocations: 35.34 kB / 0.7452 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.7678, allocations: 259.3 kB / 0.7454 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.768, allocations: 84.02 kB / 0.7455 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.7682, allocations: 91.23 kB / 0.7456 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.7684, allocations: 74.83 kB / 0.7457 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.7684, allocations: 6.938 kB / 0.7457 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.889e-05/0.7685, allocations: 7.781 kB / 0.7457 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.7685, allocations: 30.59 kB / 0.7457 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.7686, allocations: 68.67 kB / 0.7458 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.7688, allocations: 148.7 kB / 0.7459 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7688, allocations: 1.188 kB / 0.7459 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7688, allocations: 0 / 0.7459 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.7689, allocations: 0 / 0.7459 GB, free: 6.449 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.0006811/0.7695, allocations: 446.1 kB / 0.7464 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7696, allocations: 9.375 kB / 0.7464 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.7696, allocations: 17.66 kB / 0.7464 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.77, allocations: 250.5 kB / 0.7466 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.77, allocations: 8.891 kB / 0.7466 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.77, allocations: 15.34 kB / 0.7466 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.7703, allocations: 167.5 kB / 0.7468 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.7703, allocations: 5.375 kB / 0.7468 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.7703, allocations: 9.219 kB / 0.7468 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7703, allocations: 3.406 kB / 0.7468 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.7705, allocations: 75.55 kB / 0.7469 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.7714, allocations: 1.146 MB / 0.748 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.7715, allocations: 165.1 kB / 0.7482 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.7716, allocations: 97.83 kB / 0.7483 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.7716, allocations: 75.28 kB / 0.7483 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.7717, allocations: 108.7 kB / 0.7484 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7717, allocations: 0 / 0.7484 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.08e-05/0.7718, allocations: 44.66 kB / 0.7485 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7719, allocations: 180.6 kB / 0.7486 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.7722, allocations: 244.8 kB / 0.7489 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.7722, allocations: 31.08 kB / 0.7489 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7723, allocations: 133.5 kB / 0.749 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.7723, allocations: 0 / 0.749 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.7723, allocations: 20.59 kB / 0.7491 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7725, allocations: 330.9 kB / 0.7494 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.7725, allocations: 8.125 kB / 0.7494 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.7726, allocations: 72.03 kB / 0.7495 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.7726, allocations: 47.23 kB / 0.7495 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7727, allocations: 4.125 kB / 0.7495 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.7728, allocations: 95.55 kB / 0.7496 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7729, allocations: 5.5 kB / 0.7496 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7729, allocations: 1.375 kB / 0.7496 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7729, allocations: 5.406 kB / 0.7496 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.773, allocations: 8.25 kB / 0.7496 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.773, allocations: 1.375 kB / 0.7496 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.7731, allocations: 21.23 kB / 0.7496 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.7731, allocations: 6.906 kB / 0.7496 GB, free: 2.777 MB / 0.5606 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 0.0001321/0.7732, allocations: 198.8 kB / 0.7498 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.7733, allocations: 130.3 kB / 0.75 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.7734, allocations: 119.4 kB / 0.7501 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-05/0.7734, allocations: 189.6 kB / 0.7502 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.243e-05/0.7735, allocations: 181.6 kB / 0.7504 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/0.7736, allocations: 180.3 kB / 0.7506 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.7739, allocations: 457.7 kB / 0.751 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.572e-05/0.7739, allocations: 102.4 kB / 0.7511 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.774, allocations: 104.9 kB / 0.7512 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.824e-05/0.774, allocations: 177.6 kB / 0.7514 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.982e-05/0.7741, allocations: 181.6 kB / 0.7516 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-05/0.7742, allocations: 188.2 kB / 0.7517 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.355e-05/0.7742, allocations: 181.6 kB / 0.7519 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.7744, allocations: 318.5 kB / 0.7522 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.7745, allocations: 206 kB / 0.7524 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.7746, allocations: 179.3 kB / 0.7526 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.7748, allocations: 102.4 kB / 0.7527 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.7748, allocations: 192.2 kB / 0.7529 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.7749, allocations: 106.3 kB / 0.753 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001746/0.7751, allocations: 178.8 kB / 0.7531 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7751, allocations: 0 / 0.7531 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002536/0.7753, allocations: 27.75 kB / 0.7532 GB, free: 15.08 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 (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.0001399/0.7755, allocations: 173.7 kB / 0.7533 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.41e-05/0.7756, allocations: 20.38 kB / 0.7534 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7756, allocations: 0 / 0.7534 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.7756, allocations: 0 / 0.7534 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.7762, allocations: 0.5797 MB / 0.7539 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.7768, allocations: 360.1 kB / 0.7543 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.7772, allocations: 0.7177 MB / 0.755 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.285e-05/0.7773, allocations: 25.7 kB / 0.755 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.7773, allocations: 15.44 kB / 0.755 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.7773, allocations: 4 kB / 0.755 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of Templates: time 0.004842/0.7822, allocations: 1.845 MB / 0.7568 GB, free: 12.42 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)