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.000857/0.000857, allocations: 89.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 183.2 kB / 16.92 MB, free: 6.691 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: 223.3 MB / 241 MB, free: 5.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6105/0.6105, allocations: 115.5 MB / 407.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.0002561, allocations: 12.98 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.116, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.3462/0.4622, allocations: 161.7 MB / 0.718 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004712/0.467, allocations: 5.631 MB / 0.7235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.4672, allocations: 4 kB / 0.7235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.4674, allocations: 79.5 kB / 0.7236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.4676, allocations: 51.69 kB / 0.7236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.4677, allocations: 31.97 kB / 0.7236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.468, allocations: 259 kB / 0.7239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.4682, allocations: 79.42 kB / 0.724 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.4684, allocations: 79.59 kB / 0.724 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4685, allocations: 63.7 kB / 0.7241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4685, allocations: 0 / 0.7241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.4685, allocations: 4 kB / 0.7241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.4686, allocations: 19.86 kB / 0.7241 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.4687, allocations: 85.33 kB / 0.7242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.4688, allocations: 147.4 kB / 0.7244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4688, allocations: 0 / 0.7244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4688, allocations: 0 / 0.7244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.4688, allocations: 0 / 0.7244 GB, free: 14.46 MB / 0.545 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.0004649/0.4693, allocations: 423.8 kB / 0.7248 GB, free: 14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4693, allocations: 8.031 kB / 0.7248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.4694, allocations: 46.5 kB / 0.7248 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.4694, allocations: 15.81 kB / 0.7248 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.4697, allocations: 242.3 kB / 0.7251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4697, allocations: 8.234 kB / 0.7251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.4697, allocations: 12 kB / 0.7251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.4699, allocations: 173.4 kB / 0.7252 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.47, allocations: 3.938 kB / 0.7252 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.47, allocations: 4 kB / 0.7252 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.47, allocations: 4 kB / 0.7252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4701, allocations: 67.89 kB / 0.7253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.4708, allocations: 1.152 MB / 0.7264 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.4709, allocations: 177.1 kB / 0.7266 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.4709, allocations: 80.14 kB / 0.7267 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.471, allocations: 79.22 kB / 0.7268 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.471, allocations: 113.8 kB / 0.7269 GB, free: 11.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.471, allocations: 3.938 kB / 0.7269 GB, free: 11.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.097e-05/0.4711, allocations: 49.5 kB / 0.7269 GB, free: 11.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4712, allocations: 186 kB / 0.7271 GB, free: 11.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.4714, allocations: 245 kB / 0.7273 GB, free: 11.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.4714, allocations: 25.7 kB / 0.7274 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.4715, allocations: 135.8 kB / 0.7275 GB, free: 10.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.4715, allocations: 4 kB / 0.7275 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.4715, allocations: 13.72 kB / 0.7275 GB, free: 10.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.4716, allocations: 326.8 kB / 0.7278 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.4716, allocations: 12 kB / 0.7278 GB, free: 10.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.4717, allocations: 63.72 kB / 0.7279 GB, free: 10.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.693e-05/0.4718, allocations: 56.27 kB / 0.7279 GB, free: 10.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4718, allocations: 0 / 0.7279 GB, free: 10.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001357/0.4719, allocations: 93.3 kB / 0.728 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.4719, allocations: 4 kB / 0.728 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4719, allocations: 0 / 0.728 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4719, allocations: 4 kB / 0.728 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.472, allocations: 12.16 kB / 0.728 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.472, allocations: 0 / 0.728 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.4721, allocations: 19.77 kB / 0.7281 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4721, allocations: 4 kB / 0.7281 GB, free: 10.31 MB / 0.545 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 9.977e-05/0.4722, allocations: 205.1 kB / 0.7283 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.4723, allocations: 124.8 kB / 0.7284 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.4723, allocations: 117.8 kB / 0.7285 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.4724, allocations: 192.2 kB / 0.7287 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.395e-05/0.4724, allocations: 176.3 kB / 0.7288 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-05/0.4725, allocations: 180.2 kB / 0.729 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4727, allocations: 449.2 kB / 0.7294 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.4727, allocations: 108.9 kB / 0.7296 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.4728, allocations: 105 kB / 0.7297 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.611e-05/0.4728, allocations: 184.3 kB / 0.7298 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.4729, allocations: 180.2 kB / 0.73 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.265e-05/0.4729, allocations: 176.3 kB / 0.7302 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.632e-05/0.473, allocations: 184.2 kB / 0.7303 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.4731, allocations: 319.6 kB / 0.7306 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.4732, allocations: 201.8 kB / 0.7308 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.4732, allocations: 196.4 kB / 0.731 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.4733, allocations: 104.9 kB / 0.7311 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.4734, allocations: 176.3 kB / 0.7313 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.4734, allocations: 117 kB / 0.7314 GB, free: 6.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001445/0.4736, allocations: 184.4 kB / 0.7316 GB, free: 6.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4736, allocations: 0 / 0.7316 GB, free: 6.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002361/0.4738, allocations: 20 kB / 0.7316 GB, free: 6.465 MB / 0.545 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.0002929/0.4741, allocations: 0.8242 MB / 0.7324 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.4742, allocations: 23.92 kB / 0.7324 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4742, allocations: 0 / 0.7324 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.4742, allocations: 0 / 0.7324 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.4748, allocations: 0.5669 MB / 0.733 GB, free: 5.016 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.4765, allocations: 2.075 MB / 0.735 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.4767, allocations: 0.7166 MB / 0.7357 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.4768, allocations: 25.58 kB / 0.7357 GB, free: 2.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.4769, allocations: 39.42 kB / 0.7358 GB, free: 2.031 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.4769, allocations: 0 / 0.7358 GB, free: 2.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6854/1.162, allocations: 3.549 MB / 0.7392 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/1.163, allocations: 184.4 kB / 0.7394 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/3.083, allocations: 3.938 kB / 0.7394 GB, free: 14.37 MB / 0.5606 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)