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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002515/0.002515, allocations: 244.1 kB / 259.4 MB, free: 480 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.131/1.131, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.492e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.4405/0.4405, allocations: 146.5 MB / 0.7898 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006188/0.4467, allocations: 5.154 MB / 0.7948 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.4468, allocations: 7.938 kB / 0.7948 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.4472, allocations: 107.2 kB / 0.7949 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.4474, allocations: 59.55 kB / 0.795 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.4475, allocations: 35.95 kB / 0.795 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.4478, allocations: 229.2 kB / 0.7953 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.448, allocations: 55.64 kB / 0.7953 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.4483, allocations: 135.6 kB / 0.7954 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.4484, allocations: 59.81 kB / 0.7955 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.4485, allocations: 8 kB / 0.7955 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.4485, allocations: 12 kB / 0.7955 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.4485, allocations: 31.86 kB / 0.7955 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.4486, allocations: 43.91 kB / 0.7956 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.4488, allocations: 163.4 kB / 0.7957 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4488, allocations: 4 kB / 0.7957 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4488, allocations: 0 / 0.7957 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.4488, allocations: 0 / 0.7957 GB, free: 7.879 MB / 0.6231 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.0005772/0.4494, allocations: 361.7 kB / 0.7961 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4495, allocations: 13.28 kB / 0.7961 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.4495, allocations: 23.86 kB / 0.7961 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.4498, allocations: 192.9 kB / 0.7963 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.4498, allocations: 8.234 kB / 0.7963 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4499, allocations: 12 kB / 0.7963 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.4502, allocations: 225.5 kB / 0.7965 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4502, allocations: 0 / 0.7965 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4502, allocations: 4 kB / 0.7965 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4502, allocations: 4 kB / 0.7966 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.4503, allocations: 67.84 kB / 0.7966 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.4513, allocations: 1.051 MB / 0.7976 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.4514, allocations: 169.1 kB / 0.7978 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.4515, allocations: 84.14 kB / 0.7979 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4515, allocations: 75.28 kB / 0.798 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.4516, allocations: 111.2 kB / 0.7981 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 2.895e-06/0.4516, allocations: 7.922 kB / 0.7981 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 7.466e-05/0.4516, allocations: 33.66 kB / 0.7981 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4518, allocations: 190 kB / 0.7983 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.4519, allocations: 179.9 kB / 0.7985 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.452, allocations: 25.7 kB / 0.7985 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.4521, allocations: 139.8 kB / 0.7986 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.4521, allocations: 4 kB / 0.7986 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.4521, allocations: 25.7 kB / 0.7986 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4523, allocations: 318.8 kB / 0.7989 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.4523, allocations: 11.98 kB / 0.799 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4524, allocations: 170.5 kB / 0.7991 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.017e-05/0.4525, allocations: 56.25 kB / 0.7992 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4525, allocations: 7 kB / 0.7992 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/0.4526, allocations: 73.58 kB / 0.7993 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4527, allocations: 8 kB / 0.7993 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4527, allocations: 0 / 0.7993 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4527, allocations: 4 kB / 0.7993 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.4527, allocations: 11.88 kB / 0.7993 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.4527, allocations: 4 kB / 0.7993 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.4528, allocations: 11.94 kB / 0.7993 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.4528, allocations: 3.938 kB / 0.7993 GB, free: 3.934 MB / 0.6231 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.0001432/0.453, allocations: 205.3 kB / 0.7995 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.453, allocations: 124.9 kB / 0.7996 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.4531, allocations: 109.5 kB / 0.7997 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-05/0.4532, allocations: 176.3 kB / 0.7999 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.389e-05/0.4533, allocations: 188.1 kB / 0.8001 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.232e-05/0.4533, allocations: 184.3 kB / 0.8002 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.4536, allocations: 392.8 kB / 0.8006 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-05/0.4537, allocations: 101.7 kB / 0.8007 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.4538, allocations: 101 kB / 0.8008 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.167e-05/0.4538, allocations: 188.2 kB / 0.801 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.4539, allocations: 176.3 kB / 0.8012 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.966e-05/0.454, allocations: 190.7 kB / 0.8013 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-05/0.4541, allocations: 180.3 kB / 0.8015 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.4543, allocations: 315.7 kB / 0.8018 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.4543, allocations: 116.9 kB / 0.8019 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4544, allocations: 184.2 kB / 0.8021 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4545, allocations: 101 kB / 0.8022 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.4546, allocations: 184.1 kB / 0.8024 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.4547, allocations: 105 kB / 0.8025 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001241/0.4548, allocations: 136.2 kB / 0.8026 GB, free: 376 kB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.4548, allocations: 0 / 0.8026 GB, free: 376 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002588/0.4551, allocations: 31.89 kB / 0.8026 GB, free: 344 kB / 0.6231 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.0001291/0.4552, allocations: 174.5 kB / 0.8028 GB, free: 156 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.293e-05/0.4553, allocations: 23.77 kB / 0.8028 GB, free: 136 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4553, allocations: 4 kB / 0.8028 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.4553, allocations: 0 / 0.8028 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.4557, allocations: 468.8 kB / 0.8033 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.4562, allocations: 314.8 kB / 0.8036 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.4563, allocations: 101.9 kB / 0.8037 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.4563, allocations: 12.48 kB / 0.8037 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.4564, allocations: 12.5 kB / 0.8037 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.4564, allocations: 0 / 0.8037 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.003561/0.4599, allocations: 0.8214 MB / 0.8045 GB, free: 14.41 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.019904896616936] Failed to read output from testmodel.py, exit status != 0: 0.47009915858507156 0.48257684199999995 0.030570379 Calling exit ...