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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004933/0.004934, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001439/0.001439, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8857/0.8857, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 71.89 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3113, allocations: 81.02 MB / 0.6649 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.1644/0.4757, allocations: 166.1 MB / 0.8271 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005357/0.4811, allocations: 5.711 MB / 0.8326 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.4812, allocations: 7.938 kB / 0.8326 GB, free: 4.512 MB / 0.6544 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.0003179/0.4815, allocations: 91.31 kB / 0.8327 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.4817, allocations: 51.62 kB / 0.8328 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.4818, allocations: 47.94 kB / 0.8328 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.4821, allocations: 215.1 kB / 0.833 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.4823, allocations: 90.62 kB / 0.8331 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.4825, allocations: 99.62 kB / 0.8332 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4826, allocations: 71.58 kB / 0.8333 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.4826, allocations: 12 kB / 0.8333 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.274e-05/0.4827, allocations: 8 kB / 0.8333 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.4827, allocations: 27.92 kB / 0.8333 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.4828, allocations: 79.59 kB / 0.8334 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.483, allocations: 152.6 kB / 0.8335 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.483, allocations: 3.938 kB / 0.8335 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.022e-06/0.483, allocations: 0 / 0.8335 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.483, allocations: 0 / 0.8335 GB, free: 3.578 MB / 0.6544 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.0005146/0.4835, allocations: 450.8 kB / 0.834 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.4836, allocations: 8.031 kB / 0.834 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.4836, allocations: 42.55 kB / 0.834 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.4837, allocations: 27.8 kB / 0.8341 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.484, allocations: 250.7 kB / 0.8343 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.484, allocations: 16.16 kB / 0.8343 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.484, allocations: 12 kB / 0.8343 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.4842, allocations: 170.5 kB / 0.8345 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.4842, allocations: 4 kB / 0.8345 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4843, allocations: 7.938 kB / 0.8345 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4843, allocations: 7.938 kB / 0.8345 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4844, allocations: 63.84 kB / 0.8346 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.4852, allocations: 1.164 MB / 0.8357 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.4853, allocations: 165.1 kB / 0.8359 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.4854, allocations: 80.14 kB / 0.8359 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4854, allocations: 79.22 kB / 0.836 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.4854, allocations: 113.8 kB / 0.8361 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4854, allocations: 4 kB / 0.8361 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.266e-05/0.4855, allocations: 45.55 kB / 0.8362 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.4856, allocations: 178.1 kB / 0.8363 GB, free: 476 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.4859, allocations: 253 kB / 0.8366 GB, free: 212 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4859, allocations: 25.7 kB / 0.8366 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.486, allocations: 132 kB / 0.8367 GB, free: 44 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.486, allocations: 0 / 0.8367 GB, free: 44 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.486, allocations: 21.72 kB / 0.8367 GB, free: 16 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4862, allocations: 334.8 kB / 0.8371 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.4862, allocations: 7.984 kB / 0.8371 GB, free: 15.67 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.4863, allocations: 63.73 kB / 0.8371 GB, free: 15.58 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/0.4863, allocations: 52.34 kB / 0.8372 GB, free: 15.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4863, allocations: 4 kB / 0.8372 GB, free: 15.51 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001382/0.4865, allocations: 81.47 kB / 0.8373 GB, free: 15.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4865, allocations: 11.98 kB / 0.8373 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4865, allocations: 4.156 kB / 0.8373 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4865, allocations: 4 kB / 0.8373 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.4866, allocations: 11.94 kB / 0.8373 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4866, allocations: 4 kB / 0.8373 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.4867, allocations: 15.83 kB / 0.8373 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4867, allocations: 4 kB / 0.8373 GB, free: 15.37 MB / 0.67 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.0001274/0.4868, allocations: 205 kB / 0.8375 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.4869, allocations: 124.8 kB / 0.8376 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.121e-05/0.487, allocations: 125.8 kB / 0.8378 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-05/0.487, allocations: 176.3 kB / 0.8379 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.748e-05/0.4871, allocations: 184.2 kB / 0.8381 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.868e-05/0.4872, allocations: 188.3 kB / 0.8383 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4875, allocations: 449.1 kB / 0.8387 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/0.4875, allocations: 108.9 kB / 0.8388 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.4875, allocations: 105 kB / 0.8389 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/0.4876, allocations: 188.2 kB / 0.8391 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.4877, allocations: 176.3 kB / 0.8393 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.508e-05/0.4878, allocations: 176.5 kB / 0.8394 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.93e-05/0.4878, allocations: 188.2 kB / 0.8396 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.488, allocations: 335.5 kB / 0.8399 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.4881, allocations: 194 kB / 0.8401 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.4882, allocations: 184.2 kB / 0.8403 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4883, allocations: 104.9 kB / 0.8404 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.4884, allocations: 180.3 kB / 0.8406 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.4884, allocations: 108.9 kB / 0.8407 GB, free: 11.72 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001645/0.4886, allocations: 184.5 kB / 0.8408 GB, free: 11.55 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.4886, allocations: 0 / 0.8408 GB, free: 11.55 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002234/0.4888, allocations: 20 kB / 0.8409 GB, free: 11.53 MB / 0.67 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.0003855/0.4892, allocations: 0.8282 MB / 0.8417 GB, free: 10.67 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.574e-05/0.4893, allocations: 19.94 kB / 0.8417 GB, free: 10.65 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4893, allocations: 0 / 0.8417 GB, free: 10.65 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.4893, allocations: 0 / 0.8417 GB, free: 10.65 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.4899, allocations: 0.5119 MB / 0.8422 GB, free: 10.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.4917, allocations: 2.038 MB / 0.8442 GB, free: 7.992 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.492, allocations: 0.7202 MB / 0.8449 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.619e-05/0.4921, allocations: 21.53 kB / 0.8449 GB, free: 7.227 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.4922, allocations: 39.42 kB / 0.8449 GB, free: 7.191 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.4922, allocations: 0 / 0.8449 GB, free: 7.191 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.184/1.676, allocations: 3.873 MB / 0.8487 GB, free: 3.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/17.23, allocations: 7.312 kB / 0.8487 GB, free: 3.406 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)