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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_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.005407/0.005407, allocations: 99.27 kB / 15.73 MB, free: 6.012 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.00126/0.00126, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 294.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.18/1.18, allocations: 178.6 MB / 0.5074 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 99.84 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3569, allocations: 89.13 MB / 0.7813 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1845/0.5414, allocations: 166.1 MB / 0.9435 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006193/0.5476, allocations: 5.7 MB / 0.9491 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.5479, allocations: 4 kB / 0.9491 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.5483, allocations: 91.31 kB / 0.9492 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.5487, allocations: 55.61 kB / 0.9492 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.5488, allocations: 39.89 kB / 0.9493 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.5491, allocations: 219.1 kB / 0.9495 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.5494, allocations: 94.55 kB / 0.9496 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.5496, allocations: 99.62 kB / 0.9497 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.5497, allocations: 67.7 kB / 0.9497 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.5498, allocations: 8 kB / 0.9498 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.5498, allocations: 12 kB / 0.9498 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.5499, allocations: 35.84 kB / 0.9498 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.5499, allocations: 75.61 kB / 0.9499 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.5502, allocations: 157.7 kB / 0.95 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5502, allocations: 0 / 0.95 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5502, allocations: 3.938 kB / 0.95 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5502, allocations: 0 / 0.95 GB, free: 11.36 MB / 0.7169 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.0006056/0.5508, allocations: 450.8 kB / 0.9505 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5509, allocations: 8.031 kB / 0.9505 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.5509, allocations: 46.55 kB / 0.9505 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.551, allocations: 15.91 kB / 0.9505 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.5513, allocations: 256.1 kB / 0.9508 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.5513, allocations: 12.23 kB / 0.9508 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.5514, allocations: 12 kB / 0.9508 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.5516, allocations: 172.7 kB / 0.951 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.5516, allocations: 0 / 0.951 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.5517, allocations: 8 kB / 0.951 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.5517, allocations: 7.938 kB / 0.951 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.5518, allocations: 59.91 kB / 0.951 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.5528, allocations: 1.156 MB / 0.9522 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.5529, allocations: 173.1 kB / 0.9523 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.553, allocations: 84.08 kB / 0.9524 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.553, allocations: 75.28 kB / 0.9525 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/0.5531, allocations: 109.8 kB / 0.9526 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5531, allocations: 4 kB / 0.9526 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.317e-05/0.5532, allocations: 49.56 kB / 0.9526 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5533, allocations: 178.1 kB / 0.9528 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.5536, allocations: 252.9 kB / 0.953 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5536, allocations: 25.7 kB / 0.9531 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5537, allocations: 128 kB / 0.9532 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-06/0.5537, allocations: 3.984 kB / 0.9532 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.5538, allocations: 21.72 kB / 0.9532 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5539, allocations: 330.8 kB / 0.9535 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.554, allocations: 8 kB / 0.9535 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.554, allocations: 63.72 kB / 0.9536 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.861e-05/0.5541, allocations: 56.16 kB / 0.9536 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5541, allocations: 4 kB / 0.9536 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000168/0.5543, allocations: 89.36 kB / 0.9537 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5543, allocations: 8 kB / 0.9537 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5543, allocations: 3.984 kB / 0.9537 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5544, allocations: 4.156 kB / 0.9538 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.5544, allocations: 8 kB / 0.9538 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5545, allocations: 4 kB / 0.9538 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.5545, allocations: 15.95 kB / 0.9538 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.5546, allocations: 8 kB / 0.9538 GB, free: 7.164 MB / 0.7169 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.0001475/0.5547, allocations: 205 kB / 0.954 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.5548, allocations: 124.8 kB / 0.9541 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-05/0.5549, allocations: 125.8 kB / 0.9542 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.175e-05/0.555, allocations: 180.2 kB / 0.9544 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.547e-05/0.5551, allocations: 180.3 kB / 0.9546 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.1e-05/0.5551, allocations: 192.2 kB / 0.9547 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.5555, allocations: 449.1 kB / 0.9552 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.5555, allocations: 104.9 kB / 0.9553 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.5556, allocations: 109 kB / 0.9554 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.206e-05/0.5556, allocations: 176.3 kB / 0.9555 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/0.5557, allocations: 184.2 kB / 0.9557 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.288e-05/0.5558, allocations: 176.5 kB / 0.9559 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.415e-05/0.5559, allocations: 192.2 kB / 0.9561 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.5561, allocations: 323.7 kB / 0.9564 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.5562, allocations: 201.9 kB / 0.9566 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.5563, allocations: 180.2 kB / 0.9567 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5564, allocations: 108.9 kB / 0.9569 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.5565, allocations: 176.3 kB / 0.957 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.5566, allocations: 109 kB / 0.9571 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001791/0.5568, allocations: 184.5 kB / 0.9573 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5568, allocations: 0 / 0.9573 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002622/0.557, allocations: 24 kB / 0.9573 GB, free: 3.324 MB / 0.7169 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.0004375/0.5575, allocations: 0.8281 MB / 0.9581 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.5576, allocations: 19.94 kB / 0.9581 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5576, allocations: 0 / 0.9581 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.5576, allocations: 0 / 0.9581 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.5582, allocations: 0.5081 MB / 0.9586 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.5603, allocations: 2.042 MB / 0.9606 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.5607, allocations: 0.7202 MB / 0.9613 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.817e-05/0.5608, allocations: 21.53 kB / 0.9614 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.5609, allocations: 43.36 kB / 0.9614 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5609, allocations: 0 / 0.9614 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.5863, allocations: 3.895 MB / 0.9652 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.501, allocations: 2.766 kB / 0.9652 GB, free: 11.2 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)