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.001192/0.001192, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00121/0.00121, allocations: 194.2 kB / 16.25 MB, free: 6.637 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.179/1.179, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8043/0.8043, allocations: 135.1 MB / 425.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.09 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1168, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3328/0.4496, allocations: 163.8 MB / 0.744 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.4542, allocations: 5.65 MB / 0.7495 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.4543, allocations: 4.656 kB / 0.7495 GB, free: 2.062 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.0003475/0.4546, allocations: 82.19 kB / 0.7496 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.4548, allocations: 54.66 kB / 0.7496 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.949e-05/0.4549, allocations: 33.28 kB / 0.7497 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.4551, allocations: 220.3 kB / 0.7499 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.4553, allocations: 93.56 kB / 0.75 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.4555, allocations: 96.64 kB / 0.7501 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.4556, allocations: 65.08 kB / 0.7501 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.4556, allocations: 13.84 kB / 0.7501 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.092e-05/0.4556, allocations: 10.28 kB / 0.7501 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.4557, allocations: 35.38 kB / 0.7502 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.4558, allocations: 72.61 kB / 0.7502 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.4559, allocations: 153.6 kB / 0.7504 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4559, allocations: 3.156 kB / 0.7504 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4559, allocations: 0 / 0.7504 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4559, allocations: 0 / 0.7504 GB, free: 1.492 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.0004608/0.4564, allocations: 443.7 kB / 0.7508 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.4564, allocations: 14.09 kB / 0.7508 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.4565, allocations: 41.44 kB / 0.7509 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.4565, allocations: 25.3 kB / 0.7509 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.4567, allocations: 239.1 kB / 0.7511 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.4568, allocations: 9.203 kB / 0.7511 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4568, allocations: 11.41 kB / 0.7511 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.457, allocations: 176.2 kB / 0.7513 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.457, allocations: 7.922 kB / 0.7513 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.457, allocations: 7.094 kB / 0.7513 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.457, allocations: 2.469 kB / 0.7513 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.4571, allocations: 66 kB / 0.7514 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.4579, allocations: 1.147 MB / 0.7525 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.4579, allocations: 181 kB / 0.7527 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.458, allocations: 80.14 kB / 0.7528 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.458, allocations: 77.75 kB / 0.7528 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.458, allocations: 109.8 kB / 0.7529 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.458, allocations: 0 / 0.7529 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.454e-05/0.4581, allocations: 48.11 kB / 0.753 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.4582, allocations: 186 kB / 0.7532 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.4584, allocations: 250.5 kB / 0.7534 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4584, allocations: 25.7 kB / 0.7534 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.4585, allocations: 130.1 kB / 0.7535 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.4585, allocations: 0 / 0.7535 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.4585, allocations: 19.09 kB / 0.7536 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.4586, allocations: 331.8 kB / 0.7539 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.4586, allocations: 5.281 kB / 0.7539 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.4587, allocations: 75.5 kB / 0.754 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.916e-05/0.4588, allocations: 50.84 kB / 0.754 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4588, allocations: 2.344 kB / 0.754 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001189/0.4589, allocations: 86.56 kB / 0.7541 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.4589, allocations: 4.938 kB / 0.7541 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4589, allocations: 2.5 kB / 0.7541 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.4589, allocations: 0 / 0.7541 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.459, allocations: 11.77 kB / 0.7541 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.459, allocations: 6.844 kB / 0.7541 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/0.4591, allocations: 28.5 kB / 0.7541 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.4591, allocations: 2.562 kB / 0.7541 GB, free: 13.77 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 9.412e-05/0.4592, allocations: 207.8 kB / 0.7543 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.4592, allocations: 116.4 kB / 0.7545 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.4593, allocations: 125.9 kB / 0.7546 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.717e-05/0.4593, allocations: 180.3 kB / 0.7547 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.776e-05/0.4594, allocations: 176.3 kB / 0.7549 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.998e-05/0.4595, allocations: 186.8 kB / 0.7551 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.4597, allocations: 455.2 kB / 0.7555 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.4597, allocations: 107.4 kB / 0.7556 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.4597, allocations: 101 kB / 0.7557 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.316e-05/0.4598, allocations: 181.9 kB / 0.7559 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.4598, allocations: 184.4 kB / 0.7561 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-05/0.4599, allocations: 182 kB / 0.7562 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.832e-05/0.46, allocations: 184.2 kB / 0.7564 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.4601, allocations: 323.6 kB / 0.7567 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.4601, allocations: 203.2 kB / 0.7569 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.4602, allocations: 176.3 kB / 0.7571 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.4603, allocations: 107.6 kB / 0.7572 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.4604, allocations: 180.2 kB / 0.7574 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.4604, allocations: 103.7 kB / 0.7575 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001373/0.4605, allocations: 189.2 kB / 0.7576 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4606, allocations: 0 / 0.7576 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002206/0.4608, allocations: 21.56 kB / 0.7577 GB, free: 10.09 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.0002924/0.4611, allocations: 0.822 MB / 0.7585 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.897e-05/0.4612, allocations: 26.8 kB / 0.7585 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4612, allocations: 0 / 0.7585 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4612, allocations: 2.219 kB / 0.7585 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.4617, allocations: 0.5084 MB / 0.759 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.4633, allocations: 2.054 MB / 0.761 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.4635, allocations: 0.7184 MB / 0.7617 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.34e-05/0.4636, allocations: 22.77 kB / 0.7617 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.4636, allocations: 43.45 kB / 0.7618 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.4636, allocations: 0 / 0.7618 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1757/0.6393, allocations: 3.734 MB / 0.7654 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.6395, allocations: 192.8 kB / 0.7656 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.337, allocations: 4 kB / 0.7656 GB, free: 2.723 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)