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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001169/0.001169, allocations: 191.8 kB / 16.14 MB, free: 6.688 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8123/0.8123, allocations: 135.1 MB / 425.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001119, allocations: 68.58 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1331, allocations: 80.92 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3499/0.4831, allocations: 163.9 MB / 0.7438 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005301/0.4884, allocations: 5.696 MB / 0.7494 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.4886, allocations: 9.438 kB / 0.7494 GB, free: 2.074 MB / 0.5606 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.0003882/0.489, allocations: 79.86 kB / 0.7495 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.4892, allocations: 55.88 kB / 0.7495 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.4893, allocations: 29.47 kB / 0.7496 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.4896, allocations: 261.7 kB / 0.7498 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.4898, allocations: 92.45 kB / 0.7499 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.49, allocations: 86.89 kB / 0.75 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.4901, allocations: 74.86 kB / 0.7501 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.4901, allocations: 7.875 kB / 0.7501 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/0.4901, allocations: 7.688 kB / 0.7501 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.4902, allocations: 30.88 kB / 0.7501 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.4903, allocations: 70.55 kB / 0.7502 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.4904, allocations: 150.5 kB / 0.7503 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4904, allocations: 0 / 0.7503 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.41e-07/0.4904, allocations: 0 / 0.7503 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.4904, allocations: 0 / 0.7503 GB, free: 1.477 MB / 0.5606 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.0005234/0.491, allocations: 442.7 kB / 0.7507 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.491, allocations: 9.594 kB / 0.7507 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.4911, allocations: 51.89 kB / 0.7508 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.4911, allocations: 19.81 kB / 0.7508 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.4914, allocations: 252.3 kB / 0.7511 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4914, allocations: 9.547 kB / 0.7511 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.4914, allocations: 16 kB / 0.7511 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.4916, allocations: 167 kB / 0.7512 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4916, allocations: 4 kB / 0.7512 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4917, allocations: 2.656 kB / 0.7512 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4917, allocations: 5.344 kB / 0.7512 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.4918, allocations: 72.91 kB / 0.7513 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.4926, allocations: 1.15 MB / 0.7524 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.4927, allocations: 173 kB / 0.7526 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.4927, allocations: 84.14 kB / 0.7527 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.4927, allocations: 77.09 kB / 0.7528 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4928, allocations: 105.8 kB / 0.7529 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4928, allocations: 0 / 0.7529 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.446e-05/0.4929, allocations: 44.33 kB / 0.7529 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.493, allocations: 182.1 kB / 0.7531 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4932, allocations: 245.2 kB / 0.7533 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.4932, allocations: 31.95 kB / 0.7533 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.4933, allocations: 135.7 kB / 0.7535 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.4933, allocations: 2.938 kB / 0.7535 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4933, allocations: 22.06 kB / 0.7535 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4934, allocations: 328.1 kB / 0.7538 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.4935, allocations: 8.766 kB / 0.7538 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.4935, allocations: 73.62 kB / 0.7539 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.641e-05/0.4936, allocations: 44.83 kB / 0.7539 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4936, allocations: 4 kB / 0.7539 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001345/0.4937, allocations: 90.77 kB / 0.754 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4938, allocations: 7.219 kB / 0.754 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4938, allocations: 0 / 0.754 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4938, allocations: 2.531 kB / 0.754 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.4938, allocations: 8.094 kB / 0.754 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.4938, allocations: 0 / 0.754 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.4939, allocations: 21.28 kB / 0.7541 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4939, allocations: 10.47 kB / 0.7541 GB, free: 13.76 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 0.0001335/0.4941, allocations: 211.9 kB / 0.7543 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.4941, allocations: 118.6 kB / 0.7544 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.4942, allocations: 122.9 kB / 0.7545 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.602e-05/0.4943, allocations: 183.1 kB / 0.7547 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.828e-05/0.4944, allocations: 180.2 kB / 0.7548 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.489e-05/0.4944, allocations: 184.2 kB / 0.755 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.4947, allocations: 449.9 kB / 0.7554 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.883e-05/0.4947, allocations: 109 kB / 0.7556 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.4947, allocations: 107.4 kB / 0.7557 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.386e-05/0.4948, allocations: 176.3 kB / 0.7558 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.4949, allocations: 184.2 kB / 0.756 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-05/0.4949, allocations: 179.3 kB / 0.7562 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-05/0.495, allocations: 180.3 kB / 0.7563 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.4951, allocations: 326.2 kB / 0.7567 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.4952, allocations: 203 kB / 0.7568 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.4953, allocations: 187 kB / 0.757 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4954, allocations: 101 kB / 0.7571 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.4955, allocations: 190.8 kB / 0.7573 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.4955, allocations: 101 kB / 0.7574 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00015/0.4957, allocations: 187.9 kB / 0.7576 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4957, allocations: 0 / 0.7576 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002379/0.4959, allocations: 21.97 kB / 0.7576 GB, free: 10.06 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.0003384/0.4962, allocations: 0.8229 MB / 0.7584 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.551e-05/0.4963, allocations: 21.25 kB / 0.7584 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4963, allocations: 320 / 0.7584 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.4963, allocations: 4 kB / 0.7584 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.4969, allocations: 0.5783 MB / 0.759 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.4985, allocations: 2.055 MB / 0.761 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.4988, allocations: 0.7141 MB / 0.7617 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.4989, allocations: 27.09 kB / 0.7617 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.4989, allocations: 43.33 kB / 0.7618 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.4989, allocations: 3.938 kB / 0.7618 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4219/0.9209, allocations: 3.611 MB / 0.7653 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.9211, allocations: 185.3 kB / 0.7655 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.856, allocations: 0 / 0.7655 GB, free: 2.898 MB / 0.5762 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)