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.001022/0.001022, allocations: 102.9 kB / 16.27 MB, free: 5.973 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.001083/0.001083, allocations: 187.8 kB / 17.19 MB, free: 5.602 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.207/1.207, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6819/0.6819, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2811, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.1456/0.4268, allocations: 166.1 MB / 0.7295 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005227/0.432, allocations: 5.688 MB / 0.735 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.4322, allocations: 11.94 kB / 0.735 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.4326, allocations: 95.3 kB / 0.7351 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.4328, allocations: 63.61 kB / 0.7352 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.433, allocations: 35.89 kB / 0.7352 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.4333, allocations: 211.2 kB / 0.7354 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.4335, allocations: 94.62 kB / 0.7355 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.4337, allocations: 103.6 kB / 0.7356 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4338, allocations: 67.64 kB / 0.7357 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.4339, allocations: 12 kB / 0.7357 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.471e-05/0.4339, allocations: 8 kB / 0.7357 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.434, allocations: 31.91 kB / 0.7357 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.434, allocations: 67.62 kB / 0.7358 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.4342, allocations: 159.4 kB / 0.7359 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4342, allocations: 0 / 0.7359 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4342, allocations: 0 / 0.7359 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.4342, allocations: 7.938 kB / 0.736 GB, free: 13.52 MB / 0.5762 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.0005367/0.4348, allocations: 446.9 kB / 0.7364 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4348, allocations: 8.625 kB / 0.7364 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.4349, allocations: 42.56 kB / 0.7364 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.4349, allocations: 19.8 kB / 0.7364 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4352, allocations: 245 kB / 0.7367 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4352, allocations: 12.23 kB / 0.7367 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.4352, allocations: 12 kB / 0.7367 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4354, allocations: 176.7 kB / 0.7369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4354, allocations: 0 / 0.7369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4355, allocations: 8 kB / 0.7369 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4355, allocations: 0 / 0.7369 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.4356, allocations: 67.84 kB / 0.7369 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.4363, allocations: 1.152 MB / 0.7381 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.4364, allocations: 169.1 kB / 0.7382 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.4365, allocations: 84.08 kB / 0.7383 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4365, allocations: 83.27 kB / 0.7384 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4365, allocations: 109.8 kB / 0.7385 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4365, allocations: 0 / 0.7385 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.58e-05/0.4366, allocations: 49.45 kB / 0.7385 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.4367, allocations: 178.1 kB / 0.7387 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.4369, allocations: 249 kB / 0.7389 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.4369, allocations: 25.7 kB / 0.739 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.437, allocations: 131.9 kB / 0.7391 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.437, allocations: 0 / 0.7391 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.4371, allocations: 21.72 kB / 0.7391 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.4372, allocations: 330.8 kB / 0.7394 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.4372, allocations: 12 kB / 0.7394 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/0.4373, allocations: 59.72 kB / 0.7395 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.4373, allocations: 56.22 kB / 0.7396 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4373, allocations: 3.938 kB / 0.7396 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001359/0.4375, allocations: 85.38 kB / 0.7396 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4375, allocations: 18.38 kB / 0.7397 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4375, allocations: 4 kB / 0.7397 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.4375, allocations: 0 / 0.7397 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.4376, allocations: 15.92 kB / 0.7397 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4376, allocations: 0 / 0.7397 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.4377, allocations: 19.75 kB / 0.7397 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.4377, allocations: 0 / 0.7397 GB, free: 9.336 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.0001138/0.4378, allocations: 205.8 kB / 0.7399 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.4379, allocations: 124.7 kB / 0.74 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.4379, allocations: 125.8 kB / 0.7401 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.794e-05/0.438, allocations: 176.3 kB / 0.7403 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.717e-05/0.438, allocations: 184.2 kB / 0.7405 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.137e-05/0.4381, allocations: 176.3 kB / 0.7406 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.4383, allocations: 457.1 kB / 0.7411 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/0.4384, allocations: 112.9 kB / 0.7412 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.4384, allocations: 101 kB / 0.7413 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.152e-05/0.4385, allocations: 180.2 kB / 0.7415 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.4385, allocations: 180.4 kB / 0.7416 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.084e-05/0.4386, allocations: 188.3 kB / 0.7418 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-05/0.4386, allocations: 184.5 kB / 0.742 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.4387, allocations: 327.5 kB / 0.7423 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.4388, allocations: 197.9 kB / 0.7425 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.4389, allocations: 176.3 kB / 0.7427 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.439, allocations: 112.9 kB / 0.7428 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.4391, allocations: 184.3 kB / 0.7429 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.4391, allocations: 104.9 kB / 0.743 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001501/0.4393, allocations: 184.5 kB / 0.7432 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.4393, allocations: 0 / 0.7432 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002394/0.4395, allocations: 24 kB / 0.7432 GB, free: 5.496 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.0003088/0.4398, allocations: 0.8164 MB / 0.744 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.4399, allocations: 19.92 kB / 0.7441 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4399, allocations: 0 / 0.7441 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.4399, allocations: 0 / 0.7441 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.4405, allocations: 0.5155 MB / 0.7446 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.4422, allocations: 2.04 MB / 0.7465 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.4424, allocations: 0.7163 MB / 0.7472 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.64e-05/0.4425, allocations: 17.55 kB / 0.7473 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.4426, allocations: 43.42 kB / 0.7473 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.4426, allocations: 0 / 0.7473 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.172/1.615, allocations: 3.805 MB / 0.751 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/12.5, allocations: 13.59 kB / 0.751 GB, free: 13.03 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)