Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u") translateModel(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001162/0.001162, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001483/0.001483, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 135.1 MB / 426.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 59.91 kB / 0.506 GB, free: 8.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3759, allocations: 80.91 MB / 0.585 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.1776/0.5536, allocations: 166.1 MB / 0.7472 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4298/0.9834, allocations: 5.689 MB / 0.7527 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.9837, allocations: 9.641 kB / 0.7527 GB, free: 1.766 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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.000474/0.9842, allocations: 97.73 kB / 0.7528 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.9844, allocations: 54.86 kB / 0.7529 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.9845, allocations: 41.41 kB / 0.7529 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.9848, allocations: 208 kB / 0.7531 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.985, allocations: 101.2 kB / 0.7532 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.9852, allocations: 105.9 kB / 0.7533 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.9854, allocations: 73.03 kB / 0.7534 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.9854, allocations: 10.81 kB / 0.7534 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.215e-05/0.9855, allocations: 9.344 kB / 0.7534 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.9855, allocations: 28.95 kB / 0.7534 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.9856, allocations: 73.19 kB / 0.7535 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.9858, allocations: 150.1 kB / 0.7537 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.9858, allocations: 1.188 kB / 0.7537 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9858, allocations: 0.5938 kB / 0.7537 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.9858, allocations: 0 / 0.7537 GB, free: 1.746 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.000641/0.9865, allocations: 450.6 kB / 0.7541 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.9865, allocations: 10.95 kB / 0.7541 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.9866, allocations: 19.75 kB / 0.7541 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.9869, allocations: 241.3 kB / 0.7544 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.9869, allocations: 9.734 kB / 0.7544 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.9869, allocations: 12.56 kB / 0.7544 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.9871, allocations: 171 kB / 0.7545 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.9872, allocations: 5.844 kB / 0.7545 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.9872, allocations: 6.562 kB / 0.7545 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.9872, allocations: 3.219 kB / 0.7545 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.9873, allocations: 73.33 kB / 0.7546 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/0.9881, allocations: 1.148 MB / 0.7557 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.9882, allocations: 175.2 kB / 0.7559 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.9882, allocations: 84.55 kB / 0.756 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.9883, allocations: 76.92 kB / 0.7561 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.9883, allocations: 113.1 kB / 0.7562 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9883, allocations: 1.094 kB / 0.7562 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.851e-05/0.9884, allocations: 46.64 kB / 0.7562 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.9885, allocations: 180.8 kB / 0.7564 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.9887, allocations: 251.5 kB / 0.7566 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.9888, allocations: 25.7 kB / 0.7567 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.9888, allocations: 135 kB / 0.7568 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.9889, allocations: 2.625 kB / 0.7568 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.9889, allocations: 21.91 kB / 0.7568 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.989, allocations: 328.4 kB / 0.7571 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.989, allocations: 11.25 kB / 0.7571 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.9891, allocations: 68.89 kB / 0.7572 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.9891, allocations: 51.11 kB / 0.7572 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9892, allocations: 3.75 kB / 0.7572 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001417/0.9893, allocations: 87.48 kB / 0.7573 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.9893, allocations: 9.781 kB / 0.7573 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9893, allocations: 0 / 0.7573 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.9893, allocations: 3.094 kB / 0.7573 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.9894, allocations: 14.2 kB / 0.7574 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.9894, allocations: 0 / 0.7574 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-05/0.9895, allocations: 18.69 kB / 0.7574 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.9895, allocations: 3.125 kB / 0.7574 GB, free: 14.62 MB / 0.5919 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.0001183/0.9896, allocations: 208.2 kB / 0.7576 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.9897, allocations: 128.1 kB / 0.7577 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.9898, allocations: 118.8 kB / 0.7578 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.247e-05/0.9899, allocations: 181.9 kB / 0.758 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-05/0.9899, allocations: 178.6 kB / 0.7582 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.293e-05/0.99, allocations: 185.6 kB / 0.7583 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.9903, allocations: 446.4 kB / 0.7588 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.011e-05/0.9903, allocations: 107.5 kB / 0.7589 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.9904, allocations: 104.8 kB / 0.759 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.833e-05/0.9904, allocations: 188.3 kB / 0.7591 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.9905, allocations: 183.9 kB / 0.7593 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.125e-05/0.9906, allocations: 185.5 kB / 0.7595 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.186e-05/0.9906, allocations: 181.9 kB / 0.7597 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.9908, allocations: 319.4 kB / 0.76 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.9909, allocations: 204.1 kB / 0.7602 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.991, allocations: 181.7 kB / 0.7603 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.9911, allocations: 111.1 kB / 0.7604 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.9912, allocations: 177.2 kB / 0.7606 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.9912, allocations: 104.9 kB / 0.7607 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001522/0.9914, allocations: 186.8 kB / 0.7609 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9914, allocations: 1.938 kB / 0.7609 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002482/0.9916, allocations: 19.34 kB / 0.7609 GB, free: 11.11 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.0001455/0.9918, allocations: 170.4 kB / 0.7611 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.9919, allocations: 26.78 kB / 0.7611 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9919, allocations: 0 / 0.7611 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.9919, allocations: 0.875 kB / 0.7611 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.9925, allocations: 0.5114 MB / 0.7616 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.993, allocations: 345.9 kB / 0.7619 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.9933, allocations: 0.7171 MB / 0.7626 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.9933, allocations: 16.84 kB / 0.7626 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.9933, allocations: 1.094 kB / 0.7626 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of Templates: time 0.003852/0.9972, allocations: 2 MB / 0.7646 GB, free: 9.453 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)