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.001153/0.001153, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001065/0.001065, allocations: 191 kB / 17.29 MB, free: 5.516 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8593/0.8593, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4493, allocations: 80.18 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.1959/0.6453, allocations: 166.1 MB / 0.7437 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006181/0.6515, allocations: 5.709 MB / 0.7493 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.6519, allocations: 7.938 kB / 0.7493 GB, free: 1.832 MB / 0.5762 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.0005965/0.6525, allocations: 91.38 kB / 0.7493 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.6527, allocations: 55.55 kB / 0.7494 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.6529, allocations: 39.95 kB / 0.7494 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.6532, allocations: 215.1 kB / 0.7496 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.6535, allocations: 86.62 kB / 0.7497 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.6537, allocations: 99.62 kB / 0.7498 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.6538, allocations: 79.58 kB / 0.7499 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.6539, allocations: 8 kB / 0.7499 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.6539, allocations: 12 kB / 0.7499 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.654, allocations: 31.86 kB / 0.7499 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.6541, allocations: 71.67 kB / 0.75 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.6543, allocations: 159.2 kB / 0.7502 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6543, allocations: 0 / 0.7502 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6543, allocations: 0 / 0.7502 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6543, allocations: 0 / 0.7502 GB, free: 0.8984 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.0006136/0.6549, allocations: 442.9 kB / 0.7506 GB, free: 428 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.655, allocations: 8.031 kB / 0.7506 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.655, allocations: 19.75 kB / 0.7506 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.6554, allocations: 250.6 kB / 0.7509 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.6554, allocations: 16.17 kB / 0.7509 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.6554, allocations: 12 kB / 0.7509 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3898/1.045, allocations: 168.7 kB / 0.751 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.045, allocations: 1.469 kB / 0.751 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.045, allocations: 11.88 kB / 0.7511 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/1.045, allocations: 4.453 kB / 0.7511 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/1.046, allocations: 70.75 kB / 0.7511 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/1.046, allocations: 1.15 MB / 0.7523 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/1.046, allocations: 170.9 kB / 0.7524 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/1.047, allocations: 81.8 kB / 0.7525 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/1.047, allocations: 75.28 kB / 0.7526 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.047, allocations: 109.3 kB / 0.7527 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/1.047, allocations: 0.6875 kB / 0.7527 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.598e-05/1.047, allocations: 47.09 kB / 0.7527 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/1.047, allocations: 188.5 kB / 0.7529 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/1.047, allocations: 246.1 kB / 0.7531 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/1.047, allocations: 28.19 kB / 0.7532 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/1.047, allocations: 138 kB / 0.7533 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/1.047, allocations: 0 / 0.7533 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/1.047, allocations: 24.61 kB / 0.7533 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/1.047, allocations: 329.3 kB / 0.7536 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/1.047, allocations: 6.594 kB / 0.7536 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/1.047, allocations: 69.36 kB / 0.7537 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/1.047, allocations: 49.95 kB / 0.7537 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.047, allocations: 1.094 kB / 0.7537 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001653/1.048, allocations: 86.48 kB / 0.7538 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.048, allocations: 8.031 kB / 0.7538 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.048, allocations: 0.8125 kB / 0.7538 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.048, allocations: 1.688 kB / 0.7538 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/1.048, allocations: 9.719 kB / 0.7538 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.048, allocations: 10.59 kB / 0.7539 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/1.048, allocations: 20.8 kB / 0.7539 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/1.048, allocations: 7.156 kB / 0.7539 GB, free: 168.2 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.62e-05/1.048, allocations: 204.2 kB / 0.7541 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/1.048, allocations: 117.6 kB / 0.7542 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/1.048, allocations: 127.2 kB / 0.7543 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/1.048, allocations: 181.9 kB / 0.7545 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.824e-05/1.048, allocations: 182.7 kB / 0.7547 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/1.048, allocations: 183.3 kB / 0.7548 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/1.048, allocations: 451.4 kB / 0.7553 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.048, allocations: 107.9 kB / 0.7554 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/1.049, allocations: 107.1 kB / 0.7555 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.773e-05/1.049, allocations: 180.1 kB / 0.7556 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/1.049, allocations: 180.9 kB / 0.7558 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.091e-05/1.049, allocations: 178.7 kB / 0.756 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.167e-05/1.049, allocations: 187.7 kB / 0.7562 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/1.049, allocations: 323.4 kB / 0.7565 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/1.049, allocations: 194.4 kB / 0.7567 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/1.049, allocations: 183.3 kB / 0.7568 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/1.049, allocations: 106.9 kB / 0.7569 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/1.049, allocations: 183.9 kB / 0.7571 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/1.049, allocations: 106.4 kB / 0.7572 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002128/1.049, allocations: 185.9 kB / 0.7574 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.049, allocations: 2.438 kB / 0.7574 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002576/1.05, allocations: 22.62 kB / 0.7574 GB, free: 164.6 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.0001063/1.05, allocations: 168.9 kB / 0.7576 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.05, allocations: 23.02 kB / 0.7576 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.05, allocations: 1.219 kB / 0.7576 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/1.05, allocations: 0.6875 kB / 0.7576 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/1.05, allocations: 0.5115 MB / 0.7581 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/1.051, allocations: 311.3 kB / 0.7584 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/1.051, allocations: 0.7214 MB / 0.7591 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.755e-05/1.051, allocations: 25.2 kB / 0.7591 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/1.051, allocations: 14.47 kB / 0.7591 GB, free: 163 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/1.051, allocations: 0 / 0.7591 GB, free: 163 MB / 0.5762 GB Notification: Performance of Templates: time 0.005831/1.057, allocations: 1.939 MB / 0.761 GB, free: 162.5 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)