Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Annex60.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001187/0.001187, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001476, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.406/0.406, allocations: 54.95 MB / 324.7 MB, free: 15.93 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 71.89 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1611, allocations: 59.59 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Validation.FlowSplitter_u): time 0.4946/0.6557, allocations: 166.1 MB / 0.6065 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005955/0.6617, allocations: 5.717 MB / 0.6121 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.662, allocations: 8 kB / 0.6121 GB, free: 11.53 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/FMI/Source_T.mo:49:3-50: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/Annex60 1.0.0/Fluid/FMI/FlowSplitter_u.mo:40:3-42: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/Annex60 1.0.0/Fluid/FMI/FlowSplitter_u.mo:43:3-44: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.0005278/0.6626, allocations: 103.3 kB / 0.6122 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.6629, allocations: 51.61 kB / 0.6122 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.6631, allocations: 35.91 kB / 0.6123 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.6636, allocations: 217.6 kB / 0.6125 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.6639, allocations: 91.94 kB / 0.6125 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.6642, allocations: 103.6 kB / 0.6126 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.6643, allocations: 75.62 kB / 0.6127 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.6644, allocations: 12 kB / 0.6127 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.6644, allocations: 8 kB / 0.6127 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.6645, allocations: 27.92 kB / 0.6128 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.6646, allocations: 75.55 kB / 0.6128 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.6648, allocations: 153.5 kB / 0.613 GB, free: 10.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6648, allocations: 0 / 0.613 GB, free: 10.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6648, allocations: 0 / 0.613 GB, free: 10.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.6649, allocations: 4.562 kB / 0.613 GB, free: 10.6 MB / 494.1 MB 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.0008385/0.6657, allocations: 447.8 kB / 0.6134 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6658, allocations: 8.031 kB / 0.6134 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.6658, allocations: 15.81 kB / 0.6134 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.6662, allocations: 245.3 kB / 0.6137 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.6662, allocations: 11.94 kB / 0.6137 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.6662, allocations: 14.25 kB / 0.6137 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.6665, allocations: 172.4 kB / 0.6139 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6665, allocations: 0 / 0.6139 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.6665, allocations: 4 kB / 0.6139 GB, free: 9.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.6665, allocations: 4 kB / 0.6139 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.6667, allocations: 71.83 kB / 0.6139 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.6677, allocations: 1.152 MB / 0.6151 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.6678, allocations: 169.1 kB / 0.6152 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.6678, allocations: 80.14 kB / 0.6153 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.6679, allocations: 79.22 kB / 0.6154 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.6679, allocations: 105.8 kB / 0.6155 GB, free: 7.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6679, allocations: 4 kB / 0.6155 GB, free: 7.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.975e-05/0.668, allocations: 53.44 kB / 0.6155 GB, free: 7.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6682, allocations: 182.1 kB / 0.6157 GB, free: 7.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.6684, allocations: 245 kB / 0.6159 GB, free: 7.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.6684, allocations: 25.7 kB / 0.616 GB, free: 7.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.6685, allocations: 139.8 kB / 0.6161 GB, free: 7.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.6686, allocations: 4 kB / 0.6161 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.6686, allocations: 17.72 kB / 0.6161 GB, free: 7.125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6687, allocations: 334.8 kB / 0.6164 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.6688, allocations: 4.5 kB / 0.6164 GB, free: 6.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.6688, allocations: 68.28 kB / 0.6165 GB, free: 6.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.6689, allocations: 48.23 kB / 0.6165 GB, free: 6.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.6689, allocations: 4.547 kB / 0.6166 GB, free: 6.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001575/0.6691, allocations: 89.31 kB / 0.6166 GB, free: 6.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6691, allocations: 4 kB / 0.6166 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6691, allocations: 4.156 kB / 0.6166 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.6691, allocations: 4.625 kB / 0.6167 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.6692, allocations: 11.94 kB / 0.6167 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6692, allocations: 0.6562 kB / 0.6167 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.6693, allocations: 23.83 kB / 0.6167 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.6693, allocations: 0 / 0.6167 GB, free: 6.484 MB / 494.1 MB 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.0001326/0.6695, allocations: 201.1 kB / 0.6169 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.6696, allocations: 129.6 kB / 0.617 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.6697, allocations: 129.6 kB / 0.6171 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/0.6697, allocations: 180.2 kB / 0.6173 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.285e-05/0.6698, allocations: 181.5 kB / 0.6175 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.001e-05/0.6699, allocations: 180.2 kB / 0.6176 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.6702, allocations: 457.2 kB / 0.6181 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/0.6703, allocations: 112.9 kB / 0.6182 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.6703, allocations: 105.8 kB / 0.6183 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.13e-05/0.6704, allocations: 180.2 kB / 0.6185 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.6705, allocations: 176.3 kB / 0.6186 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.68e-05/0.6706, allocations: 180.2 kB / 0.6188 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.606e-05/0.6706, allocations: 184.2 kB / 0.619 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.6708, allocations: 323.8 kB / 0.6193 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.6709, allocations: 206.6 kB / 0.6195 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.671, allocations: 176.3 kB / 0.6196 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6711, allocations: 104.9 kB / 0.6197 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.6712, allocations: 184.3 kB / 0.6199 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.6713, allocations: 109.5 kB / 0.62 GB, free: 2.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.6715, allocations: 180.5 kB / 0.6202 GB, free: 2.664 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6715, allocations: 0 / 0.6202 GB, free: 2.664 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000274/0.6717, allocations: 20 kB / 0.6202 GB, free: 2.645 MB / 494.1 MB 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.0001447/0.6719, allocations: 175.7 kB / 0.6204 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.672, allocations: 24 kB / 0.6204 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.672, allocations: 0.75 kB / 0.6204 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.672, allocations: 0 / 0.6204 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.6727, allocations: 0.5087 MB / 0.6209 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.6732, allocations: 316.1 kB / 0.6212 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.6735, allocations: 0.7163 MB / 0.6219 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.6736, allocations: 25.53 kB / 0.6219 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.6737, allocations: 15.44 kB / 0.6219 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of SimCode: time 2.645e-06/0.6737, allocations: 0 / 0.6219 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of Templates: time 0.005355/0.679, allocations: 1.934 MB / 0.6238 GB, free: 14.94 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)