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.0008986/0.0008986, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00521/0.00521, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 267.2 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8799/0.8799, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 15.3 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1599, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.4726/0.6326, allocations: 161.8 MB / 0.8432 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005688/0.6383, allocations: 5.631 MB / 0.8487 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.6386, allocations: 3.656 kB / 0.8487 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.639, allocations: 71.8 kB / 0.8488 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.6392, allocations: 52.73 kB / 0.8488 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.6394, allocations: 30.56 kB / 0.8488 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.6397, allocations: 258.3 kB / 0.8491 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.6399, allocations: 85.95 kB / 0.8492 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.6401, allocations: 82.02 kB / 0.8492 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.6402, allocations: 60.33 kB / 0.8493 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.6402, allocations: 2.844 kB / 0.8493 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.6403, allocations: 2.344 kB / 0.8493 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.6403, allocations: 20.94 kB / 0.8493 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.6404, allocations: 90.97 kB / 0.8494 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.6406, allocations: 136.7 kB / 0.8495 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6406, allocations: 3.938 kB / 0.8495 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.358e-06/0.6406, allocations: 0 / 0.8495 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.6406, allocations: 6.531 kB / 0.8496 GB, free: 14.94 MB / 0.5762 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.0005427/0.6412, allocations: 416.7 kB / 0.85 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6412, allocations: 10.91 kB / 0.85 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.6413, allocations: 45.89 kB / 0.85 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.6413, allocations: 15.38 kB / 0.85 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.6416, allocations: 238.3 kB / 0.8502 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6416, allocations: 9.547 kB / 0.8503 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.6416, allocations: 16.72 kB / 0.8503 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.6419, allocations: 172.5 kB / 0.8504 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6419, allocations: 3.938 kB / 0.8504 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.6419, allocations: 6.906 kB / 0.8504 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6419, allocations: 2.875 kB / 0.8505 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.6421, allocations: 60.59 kB / 0.8505 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.6429, allocations: 1.156 MB / 0.8516 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.643, allocations: 169.1 kB / 0.8518 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.643, allocations: 84.14 kB / 0.8519 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.6431, allocations: 79.22 kB / 0.852 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.6431, allocations: 111.6 kB / 0.8521 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6431, allocations: 0 / 0.8521 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.074e-05/0.6432, allocations: 46.14 kB / 0.8521 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.6433, allocations: 180.7 kB / 0.8523 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.6436, allocations: 252.8 kB / 0.8525 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.6436, allocations: 25.7 kB / 0.8525 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.6437, allocations: 142.7 kB / 0.8527 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.6437, allocations: 0 / 0.8527 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.6438, allocations: 12.62 kB / 0.8527 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6439, allocations: 326.1 kB / 0.853 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.6439, allocations: 8.562 kB / 0.853 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.644, allocations: 66.91 kB / 0.8531 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.062e-05/0.6441, allocations: 55.94 kB / 0.8531 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6441, allocations: 3.938 kB / 0.8531 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001522/0.6442, allocations: 87.06 kB / 0.8532 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6443, allocations: 7.25 kB / 0.8532 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6443, allocations: 2.781 kB / 0.8532 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.6443, allocations: 3.984 kB / 0.8532 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.6444, allocations: 8.406 kB / 0.8532 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6444, allocations: 6.781 kB / 0.8532 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.6445, allocations: 21.03 kB / 0.8533 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.6445, allocations: 2.938 kB / 0.8533 GB, free: 11.25 MB / 0.5762 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.0001377/0.6446, allocations: 204.6 kB / 0.8535 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.6447, allocations: 122.5 kB / 0.8536 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.6448, allocations: 125.8 kB / 0.8537 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.735e-05/0.6448, allocations: 180.3 kB / 0.8539 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.408e-05/0.6449, allocations: 191.5 kB / 0.8541 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.134e-05/0.645, allocations: 176.3 kB / 0.8542 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.6453, allocations: 447.7 kB / 0.8546 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/0.6453, allocations: 111.8 kB / 0.8548 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.6453, allocations: 101.1 kB / 0.8548 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-05/0.6454, allocations: 184.2 kB / 0.855 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.6455, allocations: 191.6 kB / 0.8552 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-05/0.6455, allocations: 176.3 kB / 0.8554 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.148e-05/0.6456, allocations: 180.2 kB / 0.8555 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6457, allocations: 322.3 kB / 0.8559 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.918e-05/0.6458, allocations: 203.2 kB / 0.856 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.6459, allocations: 182.9 kB / 0.8562 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.646, allocations: 108.9 kB / 0.8563 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.6461, allocations: 179.3 kB / 0.8565 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.6461, allocations: 104.9 kB / 0.8566 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001495/0.6463, allocations: 184.9 kB / 0.8568 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6463, allocations: 4 kB / 0.8568 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002373/0.6465, allocations: 21.72 kB / 0.8568 GB, free: 7.539 MB / 0.5762 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.0003654/0.6469, allocations: 0.8198 MB / 0.8576 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/0.647, allocations: 27.11 kB / 0.8576 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.647, allocations: 0 / 0.8576 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.647, allocations: 0 / 0.8576 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.6477, allocations: 0.5708 MB / 0.8582 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.6495, allocations: 2.082 MB / 0.8602 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.6498, allocations: 0.716 MB / 0.8609 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.835e-05/0.6499, allocations: 24.09 kB / 0.8609 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.65, allocations: 39.98 kB / 0.861 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.65, allocations: 0 / 0.861 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.6625, allocations: 3.574 MB / 0.8645 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.6627, allocations: 208.5 kB / 0.8647 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.274, allocations: 2.75 kB / 0.8647 GB, free: 1.699 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)