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.0006974/0.0006974, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004223/0.004223, allocations: 170 kB / 16.27 MB, free: 6.652 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8937/0.8937, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 8.234 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 82.32 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3713/0.5043, allocations: 161.7 MB / 0.746 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005258/0.5096, allocations: 5.625 MB / 0.7515 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.5098, allocations: 8.875 kB / 0.7515 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.5102, allocations: 73.08 kB / 0.7516 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.5104, allocations: 59.67 kB / 0.7517 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.5105, allocations: 28.92 kB / 0.7517 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.5108, allocations: 258.2 kB / 0.7519 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.511, allocations: 79.75 kB / 0.752 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.5112, allocations: 79.83 kB / 0.7521 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.5114, allocations: 61.7 kB / 0.7521 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.5114, allocations: 2.75 kB / 0.7521 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.141e-05/0.5114, allocations: 2.75 kB / 0.7521 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.5115, allocations: 17.42 kB / 0.7522 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.5115, allocations: 93.81 kB / 0.7522 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.5117, allocations: 144.8 kB / 0.7524 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5117, allocations: 0 / 0.7524 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5117, allocations: 3.938 kB / 0.7524 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5117, allocations: 0 / 0.7524 GB, free: 1.965 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.0004746/0.5122, allocations: 418.5 kB / 0.7528 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5123, allocations: 10.91 kB / 0.7528 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.5123, allocations: 45.58 kB / 0.7528 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.5124, allocations: 19.47 kB / 0.7529 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.5126, allocations: 245.1 kB / 0.7531 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5126, allocations: 9.109 kB / 0.7531 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.5127, allocations: 11.84 kB / 0.7531 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.5129, allocations: 175.5 kB / 0.7533 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.5129, allocations: 4 kB / 0.7533 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.5129, allocations: 6.844 kB / 0.7533 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5129, allocations: 2.5 kB / 0.7533 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.5131, allocations: 70.72 kB / 0.7534 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.5139, allocations: 1.152 MB / 0.7545 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/0.5139, allocations: 173.1 kB / 0.7547 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.514, allocations: 80.14 kB / 0.7547 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.514, allocations: 83.22 kB / 0.7548 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.514, allocations: 112.8 kB / 0.7549 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.514, allocations: 0 / 0.7549 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.716e-05/0.5141, allocations: 40.17 kB / 0.755 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.5142, allocations: 180.8 kB / 0.7551 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.5144, allocations: 250 kB / 0.7554 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5144, allocations: 29.7 kB / 0.7554 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.5145, allocations: 130.5 kB / 0.7555 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.5145, allocations: 0 / 0.7555 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.5146, allocations: 13.72 kB / 0.7555 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.5147, allocations: 328.2 kB / 0.7558 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.5147, allocations: 8.156 kB / 0.7559 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.5147, allocations: 71.47 kB / 0.7559 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.5148, allocations: 51.09 kB / 0.756 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5148, allocations: 0 / 0.756 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001348/0.5149, allocations: 96.16 kB / 0.7561 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.515, allocations: 7.531 kB / 0.7561 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.515, allocations: 0 / 0.7561 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.515, allocations: 2.938 kB / 0.7561 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.515, allocations: 9.172 kB / 0.7561 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5151, allocations: 2.781 kB / 0.7561 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.5151, allocations: 14.91 kB / 0.7561 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.5152, allocations: 2.812 kB / 0.7561 GB, free: 14.28 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.0001081/0.5153, allocations: 215.7 kB / 0.7563 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.5153, allocations: 121.2 kB / 0.7564 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.5154, allocations: 119.6 kB / 0.7565 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.897e-05/0.5154, allocations: 180.2 kB / 0.7567 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.082e-05/0.5155, allocations: 182.1 kB / 0.7569 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-05/0.5155, allocations: 180.3 kB / 0.7571 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.5158, allocations: 457.1 kB / 0.7575 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-05/0.5158, allocations: 104 kB / 0.7576 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.5159, allocations: 108.9 kB / 0.7577 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.963e-05/0.5159, allocations: 180.3 kB / 0.7579 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.516, allocations: 182 kB / 0.758 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.776e-05/0.516, allocations: 184.2 kB / 0.7582 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.424e-05/0.5161, allocations: 179.6 kB / 0.7584 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.5162, allocations: 320.1 kB / 0.7587 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.5163, allocations: 195.3 kB / 0.7589 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.5164, allocations: 195.1 kB / 0.7591 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5165, allocations: 109 kB / 0.7592 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.5165, allocations: 183.1 kB / 0.7593 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.5166, allocations: 101 kB / 0.7594 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001475/0.5167, allocations: 186.9 kB / 0.7596 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5167, allocations: 0 / 0.7596 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002288/0.5169, allocations: 19.47 kB / 0.7596 GB, free: 10.58 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.0003192/0.5173, allocations: 0.8283 MB / 0.7604 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.438e-05/0.5174, allocations: 23.11 kB / 0.7605 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5174, allocations: 0 / 0.7605 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.5174, allocations: 4.312 kB / 0.7605 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.518, allocations: 0.5705 MB / 0.761 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5196, allocations: 2.068 MB / 0.763 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.5199, allocations: 0.7164 MB / 0.7637 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.52, allocations: 26.97 kB / 0.7638 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.5201, allocations: 32.31 kB / 0.7638 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5201, allocations: 0 / 0.7638 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3666/0.8867, allocations: 3.553 MB / 0.7673 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.8869, allocations: 188.3 kB / 0.7675 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.757, allocations: 0 / 0.7675 GB, free: 4.152 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)