Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_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.001213/0.001213, allocations: 106.1 kB / 15.99 MB, free: 6.328 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: 195.7 kB / 16.91 MB, free: 6.176 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.237/1.237, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6566/0.6566, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 493.2 MB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2674, allocations: 76.17 MB / 0.556 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.1415/0.4089, allocations: 163.9 MB / 0.716 GB, free: 252 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00467/0.4136, allocations: 5.642 MB / 0.7215 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.4138, allocations: 4 kB / 0.7215 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.4142, allocations: 79.52 kB / 0.7216 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.4144, allocations: 55.67 kB / 0.7217 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.4145, allocations: 27.97 kB / 0.7217 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.4148, allocations: 215.1 kB / 0.7219 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.415, allocations: 90.62 kB / 0.722 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.4152, allocations: 107.6 kB / 0.7221 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.4153, allocations: 71.64 kB / 0.7222 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.4153, allocations: 8 kB / 0.7222 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.4153, allocations: 12 kB / 0.7222 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.4154, allocations: 31.91 kB / 0.7222 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.4155, allocations: 71.61 kB / 0.7223 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.4156, allocations: 151.5 kB / 0.7224 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4156, allocations: 3.938 kB / 0.7224 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4156, allocations: 0 / 0.7224 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4157, allocations: 3.938 kB / 0.7224 GB, free: 9.672 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.0005079/0.4162, allocations: 446.9 kB / 0.7229 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4162, allocations: 12.03 kB / 0.7229 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.4163, allocations: 42.55 kB / 0.7229 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.4163, allocations: 15.81 kB / 0.7229 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.4166, allocations: 245.1 kB / 0.7232 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4166, allocations: 8.234 kB / 0.7232 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4166, allocations: 15.94 kB / 0.7232 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.4169, allocations: 166.4 kB / 0.7233 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4169, allocations: 7.938 kB / 0.7233 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4169, allocations: 4 kB / 0.7233 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.417, allocations: 4 kB / 0.7233 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.4171, allocations: 63.91 kB / 0.7234 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.4179, allocations: 1.156 MB / 0.7245 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.418, allocations: 169.1 kB / 0.7247 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.418, allocations: 84.08 kB / 0.7248 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.418, allocations: 79.28 kB / 0.7249 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.4181, allocations: 109.8 kB / 0.725 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.4181, allocations: 7.938 kB / 0.725 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.339e-05/0.4182, allocations: 45.45 kB / 0.725 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4182, allocations: 178.1 kB / 0.7252 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.4184, allocations: 253 kB / 0.7254 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.4185, allocations: 25.7 kB / 0.7254 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.4185, allocations: 135.8 kB / 0.7256 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.4186, allocations: 0 / 0.7256 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.4186, allocations: 21.72 kB / 0.7256 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.4187, allocations: 330.8 kB / 0.7259 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.4187, allocations: 7.984 kB / 0.7259 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.081e-05/0.4188, allocations: 67.72 kB / 0.726 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.4188, allocations: 48.23 kB / 0.726 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4188, allocations: 4.062 kB / 0.726 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00014/0.419, allocations: 93.3 kB / 0.7261 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.419, allocations: 8 kB / 0.7261 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.419, allocations: 4.156 kB / 0.7261 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.419, allocations: 4 kB / 0.7261 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.4191, allocations: 8 kB / 0.7261 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4191, allocations: 7.938 kB / 0.7262 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.4192, allocations: 11.84 kB / 0.7262 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.4192, allocations: 4 kB / 0.7262 GB, free: 5.492 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.4193, allocations: 205.1 kB / 0.7264 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.4194, allocations: 120.7 kB / 0.7265 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.4194, allocations: 125.8 kB / 0.7266 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/0.4195, allocations: 176.3 kB / 0.7268 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.066e-05/0.4195, allocations: 184.2 kB / 0.7269 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.532e-05/0.4196, allocations: 184.2 kB / 0.7271 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.4198, allocations: 449.1 kB / 0.7275 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.4198, allocations: 108.9 kB / 0.7277 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.4199, allocations: 109 kB / 0.7278 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.344e-05/0.4199, allocations: 184.2 kB / 0.7279 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.42, allocations: 176.3 kB / 0.7281 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.085e-05/0.42, allocations: 176.3 kB / 0.7283 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.19e-05/0.42, allocations: 184.4 kB / 0.7284 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.4202, allocations: 331.5 kB / 0.7288 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.4202, allocations: 193.9 kB / 0.7289 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.4203, allocations: 184.3 kB / 0.7291 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.4204, allocations: 108.9 kB / 0.7292 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.4205, allocations: 180.3 kB / 0.7294 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.4205, allocations: 108.9 kB / 0.7295 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001435/0.4206, allocations: 184.5 kB / 0.7297 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4206, allocations: 3.938 kB / 0.7297 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002292/0.4209, allocations: 20 kB / 0.7297 GB, free: 1.656 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 (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.0002855/0.4212, allocations: 0.8242 MB / 0.7305 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.495e-05/0.4213, allocations: 19.94 kB / 0.7305 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4213, allocations: 0 / 0.7305 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4213, allocations: 0 / 0.7305 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.4218, allocations: 0.5031 MB / 0.731 GB, free: 284 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.4234, allocations: 2.089 MB / 0.7331 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.4236, allocations: 0.7163 MB / 0.7338 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.211e-05/0.4237, allocations: 21.53 kB / 0.7338 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.4238, allocations: 43.42 kB / 0.7338 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.4238, allocations: 0 / 0.7338 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2912/0.715, allocations: 3.73 MB / 0.7375 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.7152, allocations: 185.4 kB / 0.7376 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.383, allocations: 0 / 0.7376 GB, free: 9.441 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)