Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001968/0.001968, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001824/0.001824, allocations: 267 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9618/0.9618, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004608, allocations: 14.09 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1857, allocations: 88.54 MB / 0.6845 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5793/0.765, allocations: 150.9 MB / 0.8318 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005349/0.7704, allocations: 5.257 MB / 0.8369 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.7707, allocations: 11.25 kB / 0.8369 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.7711, allocations: 67.08 kB / 0.837 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.7714, allocations: 53.58 kB / 0.8371 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.7715, allocations: 25.41 kB / 0.8371 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.7718, allocations: 216.7 kB / 0.8373 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.772, allocations: 69.47 kB / 0.8374 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.7722, allocations: 77.23 kB / 0.8374 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.7723, allocations: 52.5 kB / 0.8375 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.7724, allocations: 2.656 kB / 0.8375 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.7724, allocations: 2.656 kB / 0.8375 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.7724, allocations: 25.2 kB / 0.8375 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.7725, allocations: 50.98 kB / 0.8376 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.7726, allocations: 121 kB / 0.8377 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7727, allocations: 0 / 0.8377 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7727, allocations: 0 / 0.8377 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.7727, allocations: 0 / 0.8377 GB, free: 8.645 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.0005602/0.7732, allocations: 413.3 kB / 0.8381 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.7733, allocations: 9.062 kB / 0.8381 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.7733, allocations: 17.53 kB / 0.8381 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.7736, allocations: 237.5 kB / 0.8383 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.7736, allocations: 10.98 kB / 0.8383 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.7737, allocations: 14.06 kB / 0.8383 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.774, allocations: 169.4 kB / 0.8385 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.774, allocations: 0 / 0.8385 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.774, allocations: 11.56 kB / 0.8385 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.774, allocations: 1.594 kB / 0.8385 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.7741, allocations: 79.7 kB / 0.8386 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.775, allocations: 1.153 MB / 0.8397 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.7752, allocations: 169.1 kB / 0.8399 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.7753, allocations: 87.45 kB / 0.84 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.7753, allocations: 83.22 kB / 0.84 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.7753, allocations: 109.8 kB / 0.8401 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.7753, allocations: 0 / 0.8401 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.099e-05/0.7754, allocations: 45.78 kB / 0.8402 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.7755, allocations: 178.1 kB / 0.8404 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.7758, allocations: 246.8 kB / 0.8406 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.7758, allocations: 29.7 kB / 0.8406 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.7759, allocations: 139.3 kB / 0.8408 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.7759, allocations: 0 / 0.8408 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.7759, allocations: 0 / 0.8408 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.776, allocations: 326.1 kB / 0.8411 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.7761, allocations: 13.42 kB / 0.8411 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.7761, allocations: 69.41 kB / 0.8411 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.7762, allocations: 18.66 kB / 0.8412 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7762, allocations: 3.953 kB / 0.8412 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001515/0.7763, allocations: 91.14 kB / 0.8413 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7764, allocations: 6.719 kB / 0.8413 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.7764, allocations: 1.438 kB / 0.8413 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7764, allocations: 3.562 kB / 0.8413 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.7765, allocations: 5.156 kB / 0.8413 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7765, allocations: 3.438 kB / 0.8413 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.7765, allocations: 15.16 kB / 0.8413 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.7766, allocations: 6.938 kB / 0.8413 GB, free: 5.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.7767, allocations: 210.3 kB / 0.8415 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.7768, allocations: 119.1 kB / 0.8416 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.7768, allocations: 124.6 kB / 0.8417 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.143e-05/0.7769, allocations: 178.9 kB / 0.8419 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-05/0.777, allocations: 180.2 kB / 0.8421 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/0.777, allocations: 180.2 kB / 0.8422 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.7773, allocations: 450 kB / 0.8427 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.55e-05/0.7774, allocations: 115.3 kB / 0.8428 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.7774, allocations: 108.3 kB / 0.8429 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.536e-05/0.7775, allocations: 176.3 kB / 0.8431 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.7776, allocations: 180.2 kB / 0.8432 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.519e-05/0.7776, allocations: 179.6 kB / 0.8434 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.149e-05/0.7777, allocations: 192.1 kB / 0.8436 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.7779, allocations: 317.5 kB / 0.8439 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.778, allocations: 201.4 kB / 0.8441 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.7781, allocations: 185.8 kB / 0.8443 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.7782, allocations: 112 kB / 0.8444 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.7783, allocations: 176.3 kB / 0.8445 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.7783, allocations: 104 kB / 0.8446 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001746/0.7785, allocations: 186.1 kB / 0.8448 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7785, allocations: 2.688 kB / 0.8448 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002517/0.7788, allocations: 19.97 kB / 0.8448 GB, free: 1.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.7789, allocations: 173.2 kB / 0.845 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.658e-05/0.779, allocations: 20.14 kB / 0.845 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.779, allocations: 3.938 kB / 0.845 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.562e-06/0.779, allocations: 0 / 0.845 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.7797, allocations: 0.5742 MB / 0.8456 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.7802, allocations: 346.9 kB / 0.8459 GB, free: 356 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.7806, allocations: 0.7196 MB / 0.8466 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.7806, allocations: 25.84 kB / 0.8466 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.7807, allocations: 16.22 kB / 0.8466 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.7807, allocations: 0 / 0.8466 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.004331/0.785, allocations: 1.796 MB / 0.8484 GB, free: 14.73 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)