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.001102/0.001102, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001181/0.001181, allocations: 172.7 kB / 15.95 MB, free: 208 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.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9509/0.9509, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005327/0.0005333, allocations: 8.219 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2223, allocations: 82.32 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5534/0.7758, allocations: 150.9 MB / 0.7348 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.7815, allocations: 5.264 MB / 0.7399 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.7818, allocations: 8.375 kB / 0.7399 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.7822, allocations: 69.45 kB / 0.74 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.7824, allocations: 47.7 kB / 0.74 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.7826, allocations: 25.11 kB / 0.7401 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.7829, allocations: 228.6 kB / 0.7403 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.7831, allocations: 65.36 kB / 0.7403 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.7834, allocations: 88.28 kB / 0.7404 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.7835, allocations: 50.73 kB / 0.7405 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7836, allocations: 2.875 kB / 0.7405 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.7836, allocations: 1.438 kB / 0.7405 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.7837, allocations: 23.72 kB / 0.7405 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.7837, allocations: 53.14 kB / 0.7406 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.7839, allocations: 111.9 kB / 0.7407 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.7839, allocations: 4 kB / 0.7407 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.697e-06/0.7839, allocations: 1.625 kB / 0.7407 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.7839, allocations: 3.938 kB / 0.7407 GB, free: 12.05 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.0005943/0.7845, allocations: 412.7 kB / 0.7411 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7846, allocations: 11.06 kB / 0.7411 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.541e-05/0.7846, allocations: 45.17 kB / 0.7411 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.7847, allocations: 24.11 kB / 0.7411 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.785, allocations: 236.3 kB / 0.7414 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.785, allocations: 5.734 kB / 0.7414 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.7851, allocations: 12.91 kB / 0.7414 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.7853, allocations: 171.1 kB / 0.7415 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7854, allocations: 5.359 kB / 0.7415 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.7854, allocations: 5.375 kB / 0.7416 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7854, allocations: 4.125 kB / 0.7416 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.7855, allocations: 78.33 kB / 0.7416 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009659/0.7865, allocations: 1.145 MB / 0.7427 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.362e-05/0.7866, allocations: 170.5 kB / 0.7429 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.7866, allocations: 84.14 kB / 0.743 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.7867, allocations: 75.28 kB / 0.7431 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.7868, allocations: 113.2 kB / 0.7432 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7868, allocations: 3.938 kB / 0.7432 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.946e-05/0.7869, allocations: 43.14 kB / 0.7432 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/0.787, allocations: 178.1 kB / 0.7434 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.7873, allocations: 253.4 kB / 0.7436 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7873, allocations: 27.08 kB / 0.7437 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.7874, allocations: 129.5 kB / 0.7438 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.7874, allocations: 4 kB / 0.7438 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.7874, allocations: 0 / 0.7438 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.7876, allocations: 326 kB / 0.7441 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.7876, allocations: 9.531 kB / 0.7441 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.7877, allocations: 74.31 kB / 0.7442 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/0.7878, allocations: 22.34 kB / 0.7442 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7878, allocations: 1.375 kB / 0.7442 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002463/0.7881, allocations: 91 kB / 0.7443 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7881, allocations: 16.56 kB / 0.7443 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7881, allocations: 1.375 kB / 0.7443 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7881, allocations: 1.375 kB / 0.7443 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.7882, allocations: 9.922 kB / 0.7443 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7882, allocations: 2.75 kB / 0.7443 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.7883, allocations: 15.88 kB / 0.7443 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.7884, allocations: 2.75 kB / 0.7443 GB, free: 8.598 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.0001473/0.7885, allocations: 210.8 kB / 0.7445 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.7886, allocations: 120.4 kB / 0.7446 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.7887, allocations: 122.1 kB / 0.7448 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/0.7887, allocations: 181.6 kB / 0.7449 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-05/0.7888, allocations: 181.5 kB / 0.7451 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-05/0.7889, allocations: 185.6 kB / 0.7453 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.7892, allocations: 448 kB / 0.7457 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/0.7893, allocations: 102.4 kB / 0.7458 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.7893, allocations: 110.2 kB / 0.7459 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-05/0.7894, allocations: 180.3 kB / 0.7461 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.7894, allocations: 180.2 kB / 0.7463 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.943e-05/0.7895, allocations: 189.6 kB / 0.7464 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.557e-05/0.7896, allocations: 180.3 kB / 0.7466 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.7898, allocations: 314.6 kB / 0.7469 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.7899, allocations: 201.4 kB / 0.7471 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.79, allocations: 185.5 kB / 0.7473 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7902, allocations: 105.3 kB / 0.7474 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.7903, allocations: 185.8 kB / 0.7476 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.7903, allocations: 105 kB / 0.7477 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002104/0.7905, allocations: 181.1 kB / 0.7478 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7906, allocations: 0 / 0.7478 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002915/0.7909, allocations: 24.12 kB / 0.7479 GB, free: 4.969 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.0006241/0.7915, allocations: 0.8177 MB / 0.7487 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.7916, allocations: 22.59 kB / 0.7487 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7916, allocations: 0 / 0.7487 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.7916, allocations: 1.375 kB / 0.7487 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.7925, allocations: 0.5854 MB / 0.7492 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.7947, allocations: 0.9581 MB / 0.7502 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.7953, allocations: 0.7117 MB / 0.7509 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.7954, allocations: 23.3 kB / 0.7509 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.7955, allocations: 44.62 kB / 0.7509 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.7955, allocations: 0 / 0.7509 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.8128, allocations: 3.515 MB / 0.7544 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.813, allocations: 171 kB / 0.7545 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.642, allocations: 3.125 kB / 0.7545 GB, free: 0.7852 MB / 0.5606 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/linux/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) Environment - environmentSimulation: