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.0008749/0.0008749, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008923/0.0008923, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8796/0.8796, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.001395/0.001395, allocations: 234.1 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6814/0.6814, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 4 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.359e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.343/0.3431, allocations: 146.5 MB / 0.7893 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.3465, allocations: 5.149 MB / 0.7943 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.3467, allocations: 7.938 kB / 0.7943 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.347, allocations: 103.2 kB / 0.7944 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.3472, allocations: 63.55 kB / 0.7945 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.3473, allocations: 35.95 kB / 0.7945 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3476, allocations: 223.7 kB / 0.7947 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3477, allocations: 50.92 kB / 0.7948 GB, free: 3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3479, allocations: 135.6 kB / 0.7949 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3481, allocations: 59.81 kB / 0.795 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3481, allocations: 8 kB / 0.795 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.3481, allocations: 12 kB / 0.795 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.3481, allocations: 39.84 kB / 0.795 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.3482, allocations: 43.92 kB / 0.7951 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.3484, allocations: 159.4 kB / 0.7952 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3484, allocations: 3.938 kB / 0.7952 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3484, allocations: 0 / 0.7952 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3484, allocations: 0 / 0.7952 GB, free: 2.547 MB / 0.6198 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.0004674/0.3488, allocations: 366.2 kB / 0.7956 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3489, allocations: 9.938 kB / 0.7956 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.3489, allocations: 50.55 kB / 0.7956 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.3489, allocations: 19.86 kB / 0.7957 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3491, allocations: 196.1 kB / 0.7958 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3492, allocations: 8.234 kB / 0.7959 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3492, allocations: 12 kB / 0.7959 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3494, allocations: 225.2 kB / 0.7961 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3494, allocations: 0.6562 kB / 0.7961 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3494, allocations: 4 kB / 0.7961 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3494, allocations: 8 kB / 0.7961 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.3495, allocations: 67.84 kB / 0.7962 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.3501, allocations: 1.097 MB / 0.7972 GB, free: 340 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.039e-05/0.3502, allocations: 169.1 kB / 0.7974 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.3502, allocations: 84.14 kB / 0.7975 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.3502, allocations: 75.94 kB / 0.7975 GB, free: 16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3503, allocations: 109.8 kB / 0.7976 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3503, allocations: 0 / 0.7976 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.072e-05/0.3503, allocations: 49.53 kB / 0.7977 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.3504, allocations: 182.1 kB / 0.7979 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3506, allocations: 249.8 kB / 0.7981 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3506, allocations: 25.7 kB / 0.7981 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.3507, allocations: 143.8 kB / 0.7983 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.3507, allocations: 4.078 kB / 0.7983 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.3507, allocations: 21.72 kB / 0.7983 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.3508, allocations: 326.8 kB / 0.7986 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.3508, allocations: 8 kB / 0.7986 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.3509, allocations: 170.5 kB / 0.7988 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.351, allocations: 56.22 kB / 0.7988 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.351, allocations: 3.938 kB / 0.7988 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001302/0.3511, allocations: 85.47 kB / 0.7989 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3511, allocations: 7.938 kB / 0.7989 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3511, allocations: 4 kB / 0.7989 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3511, allocations: 48 / 0.7989 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.3512, allocations: 11.98 kB / 0.7989 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3512, allocations: 8.141 kB / 0.7989 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.3512, allocations: 19.84 kB / 0.799 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3512, allocations: 0 / 0.799 GB, free: 14.4 MB / 0.6355 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 9.906e-05/0.3513, allocations: 206.4 kB / 0.7992 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.3514, allocations: 124.8 kB / 0.7993 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.3516, allocations: 125.7 kB / 0.7994 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/0.3516, allocations: 184.2 kB / 0.7996 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-05/0.3517, allocations: 180.3 kB / 0.7997 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.785e-05/0.3517, allocations: 176.3 kB / 0.7999 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3519, allocations: 421.6 kB / 0.8003 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.3519, allocations: 105 kB / 0.8004 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.3519, allocations: 112.9 kB / 0.8005 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-05/0.352, allocations: 176.3 kB / 0.8007 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.352, allocations: 180.4 kB / 0.8009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.889e-05/0.352, allocations: 184.2 kB / 0.801 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.89e-05/0.3521, allocations: 184.3 kB / 0.8012 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.3522, allocations: 319.7 kB / 0.8015 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3522, allocations: 120.9 kB / 0.8016 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.3523, allocations: 190.4 kB / 0.8018 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.3523, allocations: 101 kB / 0.8019 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3524, allocations: 188.2 kB / 0.8021 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3524, allocations: 105 kB / 0.8022 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001113/0.3525, allocations: 189.2 kB / 0.8024 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3525, allocations: 0 / 0.8024 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000157/0.3527, allocations: 20 kB / 0.8024 GB, free: 10.7 MB / 0.6355 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.0002626/0.3529, allocations: 0.8242 MB / 0.8032 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.353, allocations: 15.94 kB / 0.8032 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.353, allocations: 6.625 kB / 0.8032 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.353, allocations: 320 / 0.8032 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3534, allocations: 0.4968 MB / 0.8037 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3548, allocations: 2.06 MB / 0.8057 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.753e-05/0.3549, allocations: 106.3 kB / 0.8058 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.81e-05/0.355, allocations: 25.45 kB / 0.8058 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.355, allocations: 40.5 kB / 0.8059 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.355, allocations: 1.688 kB / 0.8059 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.3728, allocations: 4.807 MB / 0.8106 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/6.956, allocations: 6.734 kB / 0.8106 GB, free: 2.418 MB / 0.6355 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.60148883331567] Failed to read output from testmodel.py, exit status != 0: 7.037323882803321 7.045745343 6.695517854 Calling exit ...