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.0009858/0.0009859, allocations: 108.8 kB / 16.36 MB, free: 6.336 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.001085/0.001085, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7419/0.7419, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 55.91 kB / 0.5067 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 80.92 MB / 0.5858 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.1556/0.4659, allocations: 166.1 MB / 0.7479 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3021/0.7681, allocations: 5.686 MB / 0.7535 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.7683, allocations: 11.97 kB / 0.7535 GB, free: 1.75 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.0003759/0.7688, allocations: 98.27 kB / 0.7536 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.7689, allocations: 55.59 kB / 0.7537 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.7691, allocations: 35.61 kB / 0.7537 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.7693, allocations: 216 kB / 0.7539 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.7695, allocations: 94.08 kB / 0.754 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.7697, allocations: 102.8 kB / 0.7541 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.7699, allocations: 77.5 kB / 0.7542 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.7699, allocations: 9.656 kB / 0.7542 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.548e-05/0.7699, allocations: 11.12 kB / 0.7542 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.77, allocations: 26.58 kB / 0.7542 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.7701, allocations: 73.31 kB / 0.7543 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.7702, allocations: 161.9 kB / 0.7544 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7702, allocations: 1.594 kB / 0.7544 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7702, allocations: 0 / 0.7544 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7703, allocations: 2.469 kB / 0.7544 GB, free: 1.734 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.0005501/0.7708, allocations: 438.9 kB / 0.7549 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.7709, allocations: 10.3 kB / 0.7549 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.7709, allocations: 19.56 kB / 0.7549 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.7712, allocations: 257.7 kB / 0.7551 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.7712, allocations: 10.73 kB / 0.7551 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.7712, allocations: 12.59 kB / 0.7552 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.7714, allocations: 172.7 kB / 0.7553 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7715, allocations: 3.906 kB / 0.7553 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.7715, allocations: 6.844 kB / 0.7553 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.7715, allocations: 3.25 kB / 0.7553 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.7716, allocations: 68.34 kB / 0.7554 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.7723, allocations: 1.154 MB / 0.7565 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.7724, allocations: 166.1 kB / 0.7567 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.7724, allocations: 84.14 kB / 0.7568 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.7724, allocations: 78.34 kB / 0.7568 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.7725, allocations: 114.6 kB / 0.7569 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.7725, allocations: 0 / 0.7569 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.036e-05/0.7726, allocations: 46.48 kB / 0.757 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.7726, allocations: 184.3 kB / 0.7572 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.7728, allocations: 246.2 kB / 0.7574 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.7729, allocations: 28.8 kB / 0.7574 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.7729, allocations: 135.7 kB / 0.7576 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.7729, allocations: 0 / 0.7576 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.773, allocations: 22.66 kB / 0.7576 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.7731, allocations: 330.4 kB / 0.7579 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.7731, allocations: 6.422 kB / 0.7579 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.7731, allocations: 70.66 kB / 0.758 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.7732, allocations: 53.62 kB / 0.758 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7732, allocations: 0 / 0.758 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001242/0.7733, allocations: 85.19 kB / 0.7581 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.7733, allocations: 9.969 kB / 0.7581 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7734, allocations: 3.594 kB / 0.7581 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.7734, allocations: 0 / 0.7581 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.7734, allocations: 8.375 kB / 0.7581 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7734, allocations: 2.812 kB / 0.7581 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.7735, allocations: 21.5 kB / 0.7581 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.7735, allocations: 4.781 kB / 0.7581 GB, free: 14.61 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 9.939e-05/0.7736, allocations: 207.2 kB / 0.7583 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.7737, allocations: 122.6 kB / 0.7585 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.7738, allocations: 124.2 kB / 0.7586 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/0.7738, allocations: 180.2 kB / 0.7588 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.085e-05/0.7739, allocations: 186.8 kB / 0.7589 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.215e-05/0.7739, allocations: 177.2 kB / 0.7591 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.7742, allocations: 450.4 kB / 0.7595 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.7742, allocations: 106.2 kB / 0.7596 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.7742, allocations: 107.6 kB / 0.7597 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-05/0.7743, allocations: 186.4 kB / 0.7599 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.7744, allocations: 183.7 kB / 0.7601 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-05/0.7744, allocations: 184.5 kB / 0.7603 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.373e-05/0.7745, allocations: 179.4 kB / 0.7604 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.7746, allocations: 322.4 kB / 0.7607 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.7747, allocations: 203.7 kB / 0.7609 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.7748, allocations: 186.8 kB / 0.7611 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.7749, allocations: 101.9 kB / 0.7612 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.7749, allocations: 186.8 kB / 0.7614 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.775, allocations: 104.9 kB / 0.7615 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001293/0.7751, allocations: 188.2 kB / 0.7617 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7751, allocations: 0 / 0.7617 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002288/0.7753, allocations: 18.78 kB / 0.7617 GB, free: 11.1 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.000109/0.7755, allocations: 174.1 kB / 0.7619 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.931e-05/0.7755, allocations: 20.89 kB / 0.7619 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7755, allocations: 4.031 kB / 0.7619 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.7755, allocations: 0.5781 kB / 0.7619 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.7761, allocations: 0.5012 MB / 0.7624 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.7764, allocations: 326.1 kB / 0.7627 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7767, allocations: 0.7173 MB / 0.7634 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.7767, allocations: 23.8 kB / 0.7634 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.7768, allocations: 13.22 kB / 0.7634 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7768, allocations: 1.031 kB / 0.7634 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of Templates: time 0.004026/0.7808, allocations: 1.941 MB / 0.7653 GB, free: 9.473 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)