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.004716/0.004716, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001257/0.001257, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6288/0.6288, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 60.31 kB / 493 MB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 76.18 MB / 0.5558 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.3471/0.466, allocations: 163.9 MB / 0.7159 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004907/0.471, allocations: 5.697 MB / 0.7214 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.4711, allocations: 11.94 kB / 0.7215 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.4715, allocations: 83.48 kB / 0.7215 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.4717, allocations: 47.62 kB / 0.7216 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.4718, allocations: 31.97 kB / 0.7216 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.472, allocations: 251.1 kB / 0.7218 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.4722, allocations: 91.41 kB / 0.7219 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.4724, allocations: 91.64 kB / 0.722 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4725, allocations: 79.56 kB / 0.7221 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.4725, allocations: 4 kB / 0.7221 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.4726, allocations: 8 kB / 0.7221 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.4726, allocations: 23.92 kB / 0.7221 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.4727, allocations: 67.61 kB / 0.7222 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.4728, allocations: 151.5 kB / 0.7223 GB, free: 12.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4728, allocations: 0 / 0.7223 GB, free: 12.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.51e-07/0.4729, allocations: 0 / 0.7223 GB, free: 12.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.4729, allocations: 4 kB / 0.7223 GB, free: 12.37 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.0005248/0.4734, allocations: 447.7 kB / 0.7228 GB, free: 11.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4734, allocations: 12.03 kB / 0.7228 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.4735, allocations: 46.55 kB / 0.7228 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.4735, allocations: 15.81 kB / 0.7228 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4738, allocations: 246.3 kB / 0.7231 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4738, allocations: 8.234 kB / 0.7231 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.4738, allocations: 12 kB / 0.7231 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.474, allocations: 169.4 kB / 0.7233 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4741, allocations: 0 / 0.7233 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4741, allocations: 8 kB / 0.7233 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4741, allocations: 4 kB / 0.7233 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.4742, allocations: 75.83 kB / 0.7233 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.475, allocations: 1.152 MB / 0.7245 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.501e-05/0.475, allocations: 165.1 kB / 0.7246 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.4751, allocations: 80.14 kB / 0.7247 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.4751, allocations: 83.22 kB / 0.7248 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.4751, allocations: 117.8 kB / 0.7249 GB, free: 9.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4752, allocations: 0 / 0.7249 GB, free: 9.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.506e-05/0.4752, allocations: 45.52 kB / 0.7249 GB, free: 9.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4753, allocations: 178.1 kB / 0.7251 GB, free: 9.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.4755, allocations: 252.9 kB / 0.7253 GB, free: 9.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.4756, allocations: 29.7 kB / 0.7254 GB, free: 9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.4756, allocations: 135.8 kB / 0.7255 GB, free: 8.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.4756, allocations: 0 / 0.7255 GB, free: 8.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.4757, allocations: 25.72 kB / 0.7255 GB, free: 8.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4758, allocations: 326.8 kB / 0.7258 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.4758, allocations: 11.98 kB / 0.7259 GB, free: 8.492 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.4759, allocations: 67.66 kB / 0.7259 GB, free: 8.398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.4759, allocations: 52.23 kB / 0.726 GB, free: 8.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4759, allocations: 0 / 0.726 GB, free: 8.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001402/0.4761, allocations: 89.42 kB / 0.7261 GB, free: 8.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4761, allocations: 12.03 kB / 0.7261 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4761, allocations: 0 / 0.7261 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.4761, allocations: 7.938 kB / 0.7261 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.4762, allocations: 4 kB / 0.7261 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4762, allocations: 4 kB / 0.7261 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.4763, allocations: 11.84 kB / 0.7261 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4763, allocations: 4.125 kB / 0.7261 GB, free: 8.195 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 0.0001075/0.4764, allocations: 201.1 kB / 0.7263 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.4765, allocations: 136.7 kB / 0.7264 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.4765, allocations: 117.8 kB / 0.7265 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.183e-05/0.4766, allocations: 180.2 kB / 0.7267 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-05/0.4766, allocations: 188.2 kB / 0.7269 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/0.4767, allocations: 176.3 kB / 0.727 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.4769, allocations: 453.1 kB / 0.7275 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/0.477, allocations: 108.9 kB / 0.7276 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.477, allocations: 104.9 kB / 0.7277 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.157e-05/0.4771, allocations: 180.3 kB / 0.7279 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.4771, allocations: 180.3 kB / 0.728 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.635e-05/0.4772, allocations: 184.2 kB / 0.7282 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-05/0.4772, allocations: 180.3 kB / 0.7284 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.4774, allocations: 323.6 kB / 0.7287 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.4775, allocations: 201.8 kB / 0.7289 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.4775, allocations: 184.2 kB / 0.7291 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4776, allocations: 101 kB / 0.7291 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.4777, allocations: 188.2 kB / 0.7293 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.4777, allocations: 101 kB / 0.7294 GB, free: 4.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001524/0.4779, allocations: 184.5 kB / 0.7296 GB, free: 4.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4779, allocations: 0 / 0.7296 GB, free: 4.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002436/0.4782, allocations: 24 kB / 0.7296 GB, free: 4.352 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.0003258/0.4785, allocations: 0.8318 MB / 0.7304 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.826e-05/0.4786, allocations: 15.94 kB / 0.7305 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4786, allocations: 0 / 0.7305 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.4786, allocations: 0 / 0.7305 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.4791, allocations: 0.5767 MB / 0.731 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.4809, allocations: 2.074 MB / 0.733 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4811, allocations: 0.7166 MB / 0.7337 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.636e-05/0.4812, allocations: 21.53 kB / 0.7338 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.4813, allocations: 39.42 kB / 0.7338 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.4813, allocations: 0 / 0.7338 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3469/0.8281, allocations: 3.624 MB / 0.7373 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.8284, allocations: 191.5 kB / 0.7375 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.759, allocations: 7.938 kB / 0.7375 GB, free: 12.14 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)