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.001619/0.00162, allocations: 110 kB / 16.41 MB, free: 6.496 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.001656/0.001656, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8132/0.8132, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 72.5 kB / 0.5735 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1329, allocations: 78.87 MB / 0.6505 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.4537/0.5867, allocations: 166.1 MB / 0.8127 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.591, allocations: 5.712 MB / 0.8183 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.5912, allocations: 10.84 kB / 0.8183 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.5916, allocations: 92.25 kB / 0.8184 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.5918, allocations: 55.09 kB / 0.8185 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.5919, allocations: 33.02 kB / 0.8185 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.5921, allocations: 216.5 kB / 0.8187 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.5923, allocations: 95.14 kB / 0.8188 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.5925, allocations: 92.75 kB / 0.8189 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.5926, allocations: 80.09 kB / 0.8189 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.5927, allocations: 10.31 kB / 0.819 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/0.5927, allocations: 7.562 kB / 0.819 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.5928, allocations: 31.38 kB / 0.819 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.5928, allocations: 73.33 kB / 0.8191 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.593, allocations: 157.7 kB / 0.8192 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.593, allocations: 3.938 kB / 0.8192 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.593, allocations: 0 / 0.8192 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.593, allocations: 0 / 0.8192 GB, free: 9.922 MB / 0.5919 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.000578/0.5936, allocations: 450.7 kB / 0.8196 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5937, allocations: 10.09 kB / 0.8197 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.5937, allocations: 46.08 kB / 0.8197 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.5938, allocations: 22.22 kB / 0.8197 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.5941, allocations: 257.3 kB / 0.82 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.5941, allocations: 12.23 kB / 0.82 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.5941, allocations: 13.81 kB / 0.82 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.5944, allocations: 173.5 kB / 0.8202 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5944, allocations: 0 / 0.8202 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.5944, allocations: 5.906 kB / 0.8202 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5944, allocations: 5.797 kB / 0.8202 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.5945, allocations: 72.38 kB / 0.8202 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.5954, allocations: 1.15 MB / 0.8214 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.5955, allocations: 175.5 kB / 0.8215 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.5956, allocations: 80.14 kB / 0.8216 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.5956, allocations: 75.28 kB / 0.8217 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.5957, allocations: 105.8 kB / 0.8218 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5957, allocations: 1.875 kB / 0.8218 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.642e-05/0.5958, allocations: 57.3 kB / 0.8218 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.5959, allocations: 178.1 kB / 0.822 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.5961, allocations: 248.6 kB / 0.8222 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.5961, allocations: 29.27 kB / 0.8223 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.5962, allocations: 132.2 kB / 0.8224 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.5962, allocations: 0 / 0.8224 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.5963, allocations: 24.7 kB / 0.8224 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5964, allocations: 328.7 kB / 0.8227 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.5964, allocations: 8 kB / 0.8227 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.5965, allocations: 66.09 kB / 0.8228 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.5966, allocations: 54.69 kB / 0.8229 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5966, allocations: 3.938 kB / 0.8229 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001387/0.5967, allocations: 83.72 kB / 0.8229 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5967, allocations: 6.812 kB / 0.8229 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5968, allocations: 0 / 0.8229 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5968, allocations: 10.67 kB / 0.823 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.5968, allocations: 11.72 kB / 0.823 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5968, allocations: 0 / 0.823 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.743e-05/0.5969, allocations: 21.03 kB / 0.823 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.5969, allocations: 6.562 kB / 0.823 GB, free: 6.449 MB / 0.5919 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.0001363/0.5971, allocations: 209.5 kB / 0.8232 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/0.5972, allocations: 116.2 kB / 0.8233 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.5972, allocations: 133.3 kB / 0.8234 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.633e-05/0.5973, allocations: 176.3 kB / 0.8236 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-05/0.5974, allocations: 190.9 kB / 0.8238 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.062e-05/0.5975, allocations: 176.3 kB / 0.8239 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.5979, allocations: 453.5 kB / 0.8244 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.863e-05/0.5979, allocations: 104.9 kB / 0.8245 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.598, allocations: 109 kB / 0.8246 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-05/0.598, allocations: 186.1 kB / 0.8248 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.5981, allocations: 179.1 kB / 0.8249 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-05/0.5982, allocations: 176.3 kB / 0.8251 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.299e-05/0.5983, allocations: 180.8 kB / 0.8253 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.5985, allocations: 329.8 kB / 0.8256 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.5986, allocations: 191.2 kB / 0.8258 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5987, allocations: 186.8 kB / 0.8259 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.5989, allocations: 104.9 kB / 0.826 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.5989, allocations: 179.3 kB / 0.8262 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.599, allocations: 112 kB / 0.8263 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001639/0.5992, allocations: 185.1 kB / 0.8265 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5992, allocations: 0 / 0.8265 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002523/0.5994, allocations: 24.44 kB / 0.8265 GB, free: 2.758 MB / 0.5919 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.0004455/0.5999, allocations: 0.8251 MB / 0.8273 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.072e-05/0.6, allocations: 20.56 kB / 0.8274 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6, allocations: 0 / 0.8274 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.6, allocations: 2.5 kB / 0.8274 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.6006, allocations: 0.5034 MB / 0.8278 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.6025, allocations: 2.045 MB / 0.8298 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6028, allocations: 0.7198 MB / 0.8305 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.74e-05/0.6029, allocations: 21.97 kB / 0.8306 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.603, allocations: 42.8 kB / 0.8306 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.603, allocations: 0 / 0.8306 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.6262, allocations: 3.879 MB / 0.8344 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.429, allocations: 4.578 kB / 0.8344 GB, free: 12.96 MB / 0.6075 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)