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.001014/0.001014, allocations: 99.62 kB / 16.27 MB, free: 6.41 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.0009679/0.0009679, allocations: 185.1 kB / 17.2 MB, free: 5.953 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.245/1.245, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7247/0.7247, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3133, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.1536/0.4669, allocations: 166.1 MB / 0.7295 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005616/0.4726, allocations: 5.7 MB / 0.735 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.4728, allocations: 7.938 kB / 0.735 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.4732, allocations: 87.38 kB / 0.7351 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.4735, allocations: 67.53 kB / 0.7352 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.4736, allocations: 35.91 kB / 0.7352 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.4739, allocations: 215.2 kB / 0.7354 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.4741, allocations: 86.62 kB / 0.7355 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.4743, allocations: 95.64 kB / 0.7356 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.4745, allocations: 79.56 kB / 0.7357 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.4745, allocations: 8 kB / 0.7357 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.808e-05/0.4745, allocations: 12 kB / 0.7357 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.4746, allocations: 31.86 kB / 0.7357 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.4747, allocations: 67.67 kB / 0.7358 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.4749, allocations: 159.4 kB / 0.736 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4749, allocations: 0 / 0.736 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4749, allocations: 0 / 0.736 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4749, allocations: 0 / 0.736 GB, free: 13.51 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.0005843/0.4755, allocations: 442.9 kB / 0.7364 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4755, allocations: 12.62 kB / 0.7364 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.4756, allocations: 46.55 kB / 0.7364 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.4756, allocations: 15.81 kB / 0.7364 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4759, allocations: 242.5 kB / 0.7367 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4759, allocations: 16.22 kB / 0.7367 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.476, allocations: 12 kB / 0.7367 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4762, allocations: 164.7 kB / 0.7369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4762, allocations: 7.984 kB / 0.7369 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4762, allocations: 8 kB / 0.7369 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4763, allocations: 4 kB / 0.7369 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.4764, allocations: 67.84 kB / 0.7369 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.4772, allocations: 1.152 MB / 0.7381 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.462e-05/0.4773, allocations: 165.1 kB / 0.7382 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.4774, allocations: 84.08 kB / 0.7383 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.4774, allocations: 83.28 kB / 0.7384 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.4774, allocations: 113.8 kB / 0.7385 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4775, allocations: 0 / 0.7385 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.094e-05/0.4776, allocations: 41.52 kB / 0.7385 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.4776, allocations: 178.1 kB / 0.7387 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.4779, allocations: 253 kB / 0.7389 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.4779, allocations: 25.7 kB / 0.739 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.478, allocations: 135.9 kB / 0.7391 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.478, allocations: 80 / 0.7391 GB, free: 10 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.4781, allocations: 21.72 kB / 0.7391 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4782, allocations: 326.8 kB / 0.7394 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.4782, allocations: 11.98 kB / 0.7394 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.4783, allocations: 75.59 kB / 0.7395 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.4783, allocations: 52.17 kB / 0.7396 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4783, allocations: 0 / 0.7396 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001624/0.4785, allocations: 89.31 kB / 0.7397 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4785, allocations: 11.98 kB / 0.7397 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4785, allocations: 0 / 0.7397 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4786, allocations: 4 kB / 0.7397 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.4786, allocations: 4.125 kB / 0.7397 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4786, allocations: 8 kB / 0.7397 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.4787, allocations: 15.75 kB / 0.7397 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.4787, allocations: 4 kB / 0.7397 GB, free: 9.324 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.0001076/0.4789, allocations: 205.3 kB / 0.7399 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.4789, allocations: 128.7 kB / 0.74 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.479, allocations: 117.8 kB / 0.7401 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.914e-05/0.479, allocations: 180.2 kB / 0.7403 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-05/0.4791, allocations: 184.3 kB / 0.7405 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.954e-05/0.4791, allocations: 184.2 kB / 0.7407 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.4794, allocations: 461.1 kB / 0.7411 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/0.4794, allocations: 101 kB / 0.7412 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.4795, allocations: 108.9 kB / 0.7413 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.735e-05/0.4795, allocations: 180.3 kB / 0.7415 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.4796, allocations: 176.3 kB / 0.7416 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.894e-05/0.4796, allocations: 188.2 kB / 0.7418 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-05/0.4797, allocations: 176.5 kB / 0.742 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.4798, allocations: 327.5 kB / 0.7423 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.4799, allocations: 193.9 kB / 0.7425 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.48, allocations: 192.2 kB / 0.7427 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.4801, allocations: 101 kB / 0.7428 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.4801, allocations: 184.2 kB / 0.7429 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.4802, allocations: 105 kB / 0.743 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001582/0.4803, allocations: 180.5 kB / 0.7432 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4803, allocations: 0 / 0.7432 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002403/0.4806, allocations: 24 kB / 0.7432 GB, free: 5.492 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.0003359/0.4809, allocations: 0.828 MB / 0.744 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.481, allocations: 12 kB / 0.744 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.481, allocations: 3.938 kB / 0.744 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.481, allocations: 8.25 kB / 0.7441 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.4816, allocations: 0.5139 MB / 0.7446 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.4834, allocations: 2.037 MB / 0.7465 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.4836, allocations: 0.7124 MB / 0.7472 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.258e-05/0.4837, allocations: 25.53 kB / 0.7473 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.4838, allocations: 43.42 kB / 0.7473 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.4838, allocations: 0 / 0.7473 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2325/0.7163, allocations: 3.803 MB / 0.751 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.729, allocations: 8.641 kB / 0.751 GB, free: 173.7 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)