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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_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.001328/0.001328, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001483/0.001483, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9518/0.9518, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005404/0.0005405, allocations: 8 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6774, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.2745/0.952, allocations: 139.1 MB / 0.7188 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007463/0.9595, allocations: 4.467 MB / 0.7232 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.9599, allocations: 4 kB / 0.7232 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.9603, allocations: 39.75 kB / 0.7233 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.9607, allocations: 83.7 kB / 0.7233 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.9609, allocations: 35.91 kB / 0.7234 GB, free: 492 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.9615, allocations: 175.6 kB / 0.7235 GB, free: 316 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.9618, allocations: 63.19 kB / 0.7236 GB, free: 248 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.9622, allocations: 79.7 kB / 0.7237 GB, free: 168 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.9624, allocations: 47.72 kB / 0.7237 GB, free: 120 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.9624, allocations: 4 kB / 0.7237 GB, free: 116 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.37e-05/0.9624, allocations: 0 / 0.7237 GB, free: 116 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.9625, allocations: 19.92 kB / 0.7237 GB, free: 96 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.429e-05/0.9626, allocations: 53.58 kB / 0.7238 GB, free: 36 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.9629, allocations: 111.8 kB / 0.7239 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9629, allocations: 0 / 0.7239 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.586e-06/0.9629, allocations: 4 kB / 0.7239 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.9629, allocations: 0 / 0.7239 GB, free: 15.92 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.0008813/0.9638, allocations: 416.6 kB / 0.7243 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.9639, allocations: 8.031 kB / 0.7243 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.429e-05/0.964, allocations: 46.52 kB / 0.7243 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.9641, allocations: 19.81 kB / 0.7244 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.9646, allocations: 234.6 kB / 0.7246 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.9646, allocations: 12.23 kB / 0.7246 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.9647, allocations: 16 kB / 0.7246 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.9651, allocations: 165.1 kB / 0.7248 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.9652, allocations: 3.938 kB / 0.7248 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.9652, allocations: 4 kB / 0.7248 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.9652, allocations: 11.95 kB / 0.7248 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.9655, allocations: 79.83 kB / 0.7249 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.967, allocations: 1.14 MB / 0.726 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.9672, allocations: 165.1 kB / 0.7261 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/0.9673, allocations: 83.23 kB / 0.7262 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.494e-05/0.9674, allocations: 113.8 kB / 0.7263 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.774e-06/0.9674, allocations: 0 / 0.7263 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001618/0.9676, allocations: 49.44 kB / 0.7264 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.9677, allocations: 178.1 kB / 0.7265 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.9682, allocations: 249 kB / 0.7268 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.9683, allocations: 25.7 kB / 0.7268 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.9684, allocations: 135.9 kB / 0.7269 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-06/0.9685, allocations: 0 / 0.7269 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.9685, allocations: 0 / 0.7269 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.9687, allocations: 334.8 kB / 0.7273 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.9688, allocations: 11.98 kB / 0.7273 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.9689, allocations: 67.66 kB / 0.7273 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.393e-05/0.969, allocations: 16 kB / 0.7273 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.969, allocations: 0 / 0.7273 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002568/0.9692, allocations: 89.36 kB / 0.7274 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.9693, allocations: 7.953 kB / 0.7274 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.9693, allocations: 0 / 0.7274 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.9693, allocations: 4.156 kB / 0.7274 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.9695, allocations: 12 kB / 0.7275 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.9695, allocations: 0 / 0.7275 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.9697, allocations: 23.75 kB / 0.7275 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.9697, allocations: 0 / 0.7275 GB, free: 11.94 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002556/0.97, allocations: 205.1 kB / 0.7277 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.9701, allocations: 120.8 kB / 0.7278 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.9702, allocations: 133.6 kB / 0.7279 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/0.9704, allocations: 188.2 kB / 0.7281 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001249/0.9705, allocations: 180.2 kB / 0.7283 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001158/0.9706, allocations: 176.3 kB / 0.7284 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.9711, allocations: 453.1 kB / 0.7289 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.742e-05/0.9712, allocations: 112.9 kB / 0.729 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.9713, allocations: 108.9 kB / 0.7291 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.9714, allocations: 176.3 kB / 0.7292 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/0.9715, allocations: 176.3 kB / 0.7294 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000107/0.9716, allocations: 188.2 kB / 0.7296 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001048/0.9718, allocations: 176.3 kB / 0.7298 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.972, allocations: 327.6 kB / 0.7301 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.9722, allocations: 205.8 kB / 0.7303 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.9724, allocations: 176.3 kB / 0.7304 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.9726, allocations: 101 kB / 0.7305 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.9727, allocations: 188.2 kB / 0.7307 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.9728, allocations: 105.1 kB / 0.7308 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003236/0.9732, allocations: 184.5 kB / 0.731 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9732, allocations: 0 / 0.731 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004818/0.9737, allocations: 20 kB / 0.731 GB, free: 8.094 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006882/0.9744, allocations: 0.8241 MB / 0.7318 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.9745, allocations: 19.94 kB / 0.7318 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.9746, allocations: 4 kB / 0.7318 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.9746, allocations: 0 / 0.7318 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.9756, allocations: 0.5813 MB / 0.7324 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.9782, allocations: 1.533 MB / 0.7339 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.9789, allocations: 0.7283 MB / 0.7346 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.979, allocations: 17.55 kB / 0.7346 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.9792, allocations: 39.42 kB / 0.7347 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.9792, allocations: 7.938 kB / 0.7347 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/1.006, allocations: 3.488 MB / 0.7381 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003883/1.007, allocations: 155.5 kB / 0.7382 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.152/4.159, allocations: 4.062 kB / 0.7382 GB, free: 0.6523 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: