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.007224/0.007224, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.001359/0.00136, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8562/0.8562, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.2 kB / 0.5856 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1787, allocations: 80.92 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.6779/0.8567, allocations: 166.1 MB / 0.8268 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005848/0.8626, allocations: 5.706 MB / 0.8324 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.8629, allocations: 7.406 kB / 0.8324 GB, free: 12.36 MB / 0.6075 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.0004696/0.8635, allocations: 92.03 kB / 0.8325 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.8637, allocations: 63.12 kB / 0.8326 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.8638, allocations: 37.92 kB / 0.8326 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.8642, allocations: 209.3 kB / 0.8328 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.8644, allocations: 89.53 kB / 0.8329 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.8647, allocations: 112.5 kB / 0.833 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.8648, allocations: 61.09 kB / 0.833 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.8649, allocations: 13.69 kB / 0.8331 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.8649, allocations: 10.41 kB / 0.8331 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.8649, allocations: 39.3 kB / 0.8331 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.865, allocations: 62.22 kB / 0.8332 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.8653, allocations: 160 kB / 0.8333 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8653, allocations: 0 / 0.8333 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8653, allocations: 2.781 kB / 0.8333 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8653, allocations: 0 / 0.8333 GB, free: 11.75 MB / 0.6075 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.0006578/0.866, allocations: 444.1 kB / 0.8337 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.866, allocations: 16.77 kB / 0.8338 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.8661, allocations: 25.78 kB / 0.8338 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.8664, allocations: 247.8 kB / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.8664, allocations: 4.953 kB / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.8664, allocations: 11.47 kB / 0.834 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.8667, allocations: 178.9 kB / 0.8342 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8667, allocations: 2.469 kB / 0.8342 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.8668, allocations: 4 kB / 0.8342 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.8668, allocations: 4.375 kB / 0.8342 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.8669, allocations: 77.25 kB / 0.8343 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.8678, allocations: 1.146 MB / 0.8354 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.868, allocations: 175.5 kB / 0.8356 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.868, allocations: 80.14 kB / 0.8356 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.868, allocations: 79.22 kB / 0.8357 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.8681, allocations: 112.2 kB / 0.8358 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8681, allocations: 0 / 0.8358 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.971e-05/0.8682, allocations: 41.39 kB / 0.8359 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.8683, allocations: 180.6 kB / 0.836 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.8686, allocations: 249.5 kB / 0.8363 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.8686, allocations: 25.7 kB / 0.8363 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.8687, allocations: 133.9 kB / 0.8364 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.8687, allocations: 7.984 kB / 0.8364 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.8688, allocations: 25.06 kB / 0.8365 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8689, allocations: 321.5 kB / 0.8368 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.869, allocations: 9.062 kB / 0.8368 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.869, allocations: 67.91 kB / 0.8368 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.443e-05/0.8691, allocations: 54.19 kB / 0.8369 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8691, allocations: 2.25 kB / 0.8369 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/0.8693, allocations: 92.25 kB / 0.837 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8693, allocations: 4.312 kB / 0.837 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.8694, allocations: 7.172 kB / 0.837 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8694, allocations: 0 / 0.837 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.8694, allocations: 7.438 kB / 0.837 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.8695, allocations: 2.094 kB / 0.837 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.8695, allocations: 15.22 kB / 0.837 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.8696, allocations: 6.375 kB / 0.837 GB, free: 8.078 MB / 0.6075 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.0001517/0.8697, allocations: 207.3 kB / 0.8372 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.8698, allocations: 128.4 kB / 0.8373 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.8699, allocations: 117.3 kB / 0.8375 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/0.8699, allocations: 184.2 kB / 0.8376 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.276e-05/0.87, allocations: 182.3 kB / 0.8378 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.776e-05/0.8701, allocations: 184.3 kB / 0.838 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.8704, allocations: 461.6 kB / 0.8384 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/0.8704, allocations: 101 kB / 0.8385 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.8705, allocations: 110.7 kB / 0.8386 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.142e-05/0.8706, allocations: 176.3 kB / 0.8388 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.8706, allocations: 183.5 kB / 0.839 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.769e-05/0.8707, allocations: 180.2 kB / 0.8391 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-05/0.8708, allocations: 180.3 kB / 0.8393 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.871, allocations: 331.9 kB / 0.8396 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.8711, allocations: 188.7 kB / 0.8398 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.8712, allocations: 187.2 kB / 0.84 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.8713, allocations: 111.5 kB / 0.8401 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.8714, allocations: 180.2 kB / 0.8403 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.8714, allocations: 103.7 kB / 0.8404 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001637/0.8716, allocations: 185.3 kB / 0.8405 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.8716, allocations: 0 / 0.8405 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002499/0.8719, allocations: 20.34 kB / 0.8406 GB, free: 4.379 MB / 0.6075 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.0001474/0.872, allocations: 170.6 kB / 0.8407 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.8721, allocations: 32.45 kB / 0.8408 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8721, allocations: 0 / 0.8408 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.8722, allocations: 0 / 0.8408 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.8728, allocations: 0.5072 MB / 0.8413 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.8733, allocations: 326.2 kB / 0.8416 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.8737, allocations: 0.7242 MB / 0.8423 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.895e-05/0.8737, allocations: 18.39 kB / 0.8423 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.8738, allocations: 12.41 kB / 0.8423 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.8738, allocations: 1.875 kB / 0.8423 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of Templates: time 0.004575/0.8784, allocations: 1.959 MB / 0.8442 GB, free: 1.742 MB / 0.6075 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)