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.001412/0.001412, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001334/0.001335, allocations: 187 kB / 17.34 MB, free: 5.742 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 66.61 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.4535/0.5796, allocations: 166.1 MB / 0.8225 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005198/0.5849, allocations: 5.708 MB / 0.8281 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.5851, allocations: 3.469 kB / 0.8281 GB, free: 2.078 MB / 0.5919 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.0004033/0.5855, allocations: 99.61 kB / 0.8282 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.5857, allocations: 50.62 kB / 0.8282 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.5858, allocations: 40.83 kB / 0.8283 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.586, allocations: 215.9 kB / 0.8285 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.5862, allocations: 88.81 kB / 0.8286 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.5864, allocations: 99.95 kB / 0.8287 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.5866, allocations: 75.19 kB / 0.8287 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.5866, allocations: 7.781 kB / 0.8287 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.345e-05/0.5866, allocations: 10.06 kB / 0.8287 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.5867, allocations: 38.64 kB / 0.8288 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.5867, allocations: 73.33 kB / 0.8289 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.5869, allocations: 152.1 kB / 0.829 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5869, allocations: 3.938 kB / 0.829 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5869, allocations: 0 / 0.829 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.5869, allocations: 0 / 0.829 GB, free: 1.461 MB / 0.5919 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.0004992/0.5874, allocations: 438.9 kB / 0.8294 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.5875, allocations: 7.75 kB / 0.8294 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.5875, allocations: 21.78 kB / 0.8294 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.5878, allocations: 259.4 kB / 0.8297 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5878, allocations: 9.078 kB / 0.8297 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5879, allocations: 11.69 kB / 0.8297 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.5881, allocations: 174 kB / 0.8299 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5881, allocations: 0 / 0.8299 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.5881, allocations: 6.094 kB / 0.8299 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5881, allocations: 2.906 kB / 0.8299 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.5882, allocations: 74.83 kB / 0.83 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.589, allocations: 1.15 MB / 0.8311 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/0.5891, allocations: 175.2 kB / 0.8313 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.5892, allocations: 88.06 kB / 0.8313 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.5892, allocations: 75.28 kB / 0.8314 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.5892, allocations: 116.3 kB / 0.8315 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5893, allocations: 0 / 0.8315 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.328e-05/0.5893, allocations: 49.31 kB / 0.8316 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.5894, allocations: 178.1 kB / 0.8317 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.5896, allocations: 247.9 kB / 0.832 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.5897, allocations: 25.7 kB / 0.832 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.5898, allocations: 138 kB / 0.8321 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.5898, allocations: 0 / 0.8321 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.5898, allocations: 21.25 kB / 0.8321 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5899, allocations: 333.6 kB / 0.8325 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.59, allocations: 8.656 kB / 0.8325 GB, free: 14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.59, allocations: 67.97 kB / 0.8325 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.5901, allocations: 50.56 kB / 0.8326 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5901, allocations: 0 / 0.8326 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001365/0.5902, allocations: 91.47 kB / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.5902, allocations: 6.844 kB / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.5903, allocations: 0 / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5903, allocations: 7.281 kB / 0.8327 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.5903, allocations: 11.69 kB / 0.8327 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5903, allocations: 0 / 0.8327 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.5904, allocations: 19.36 kB / 0.8327 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.5904, allocations: 2.094 kB / 0.8327 GB, free: 13.78 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.000115/0.5906, allocations: 207.3 kB / 0.8329 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.5906, allocations: 120.2 kB / 0.833 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.5907, allocations: 125.5 kB / 0.8332 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/0.5907, allocations: 180.2 kB / 0.8333 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-05/0.5908, allocations: 182.4 kB / 0.8335 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-05/0.5909, allocations: 188.2 kB / 0.8337 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.5911, allocations: 453.9 kB / 0.8341 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.5912, allocations: 104.9 kB / 0.8342 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.5912, allocations: 108.9 kB / 0.8343 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.335e-05/0.5913, allocations: 178 kB / 0.8345 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.5913, allocations: 182.9 kB / 0.8347 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.695e-05/0.5914, allocations: 180.2 kB / 0.8348 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.258e-05/0.5915, allocations: 180.3 kB / 0.835 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.5916, allocations: 324.4 kB / 0.8353 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.5917, allocations: 200.6 kB / 0.8355 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.5917, allocations: 178.4 kB / 0.8357 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.5919, allocations: 103.8 kB / 0.8358 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.5919, allocations: 184.2 kB / 0.8359 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.592, allocations: 108 kB / 0.8361 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001428/0.5921, allocations: 181.1 kB / 0.8362 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5921, allocations: 0 / 0.8362 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002346/0.5924, allocations: 20.62 kB / 0.8362 GB, free: 10.1 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.0001026/0.5925, allocations: 174.7 kB / 0.8364 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.629e-05/0.5925, allocations: 16.81 kB / 0.8364 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5926, allocations: 4.062 kB / 0.8364 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-06/0.5926, allocations: 10.5 kB / 0.8364 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.5931, allocations: 0.509 MB / 0.8369 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.5935, allocations: 355.8 kB / 0.8373 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.5938, allocations: 0.7167 MB / 0.838 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.5938, allocations: 19.34 kB / 0.838 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.5938, allocations: 0 / 0.838 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of Templates: time 0.003115/0.5969, allocations: 2.028 MB / 0.84 GB, free: 7.355 MB / 0.6075 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)