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.000779/0.000779, 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.0007871/0.0007871, allocations: 170.3 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.8707/0.8707, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.001465/0.001465, allocations: 237.7 kB / 259.4 MB, free: 13.02 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.6743/0.6743, allocations: 138.4 MB / 454.3 MB, free: 30.01 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 1.452e-06/1.452e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.121e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.3469/0.3469, allocations: 146.5 MB / 0.7893 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.3503, allocations: 5.156 MB / 0.7943 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3504, allocations: 15.88 kB / 0.7943 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3507, allocations: 91.38 kB / 0.7944 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3509, allocations: 59.48 kB / 0.7945 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.351, allocations: 43.88 kB / 0.7945 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.3512, allocations: 219.7 kB / 0.7947 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3513, allocations: 58.92 kB / 0.7948 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.3515, allocations: 143.6 kB / 0.7949 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.3516, allocations: 47.83 kB / 0.795 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3516, allocations: 12 kB / 0.795 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.3517, allocations: 8 kB / 0.795 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.3517, allocations: 39.83 kB / 0.795 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.3517, allocations: 39.94 kB / 0.7951 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3519, allocations: 159.5 kB / 0.7952 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3519, allocations: 0 / 0.7952 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3519, allocations: 0 / 0.7952 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3519, allocations: 4 kB / 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.0004577/0.3524, allocations: 370.1 kB / 0.7956 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3524, allocations: 13.94 kB / 0.7956 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.3524, allocations: 50.48 kB / 0.7956 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3525, allocations: 19.86 kB / 0.7957 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3527, allocations: 192.2 kB / 0.7958 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3527, allocations: 12.22 kB / 0.7959 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3527, allocations: 12 kB / 0.7959 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3529, allocations: 221.2 kB / 0.7961 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3529, allocations: 8.594 kB / 0.7961 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3529, allocations: 4 kB / 0.7961 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3529, allocations: 7.984 kB / 0.7961 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/0.353, allocations: 59.91 kB / 0.7962 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007191/0.3537, allocations: 1.097 MB / 0.7972 GB, free: 336 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.309e-05/0.3538, allocations: 177.1 kB / 0.7974 GB, free: 148 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.3538, allocations: 84.14 kB / 0.7975 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3538, allocations: 75.94 kB / 0.7975 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3539, allocations: 105.8 kB / 0.7976 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3539, allocations: 0 / 0.7976 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.242e-05/0.3539, allocations: 49.55 kB / 0.7977 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.354, allocations: 182 kB / 0.7979 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3542, allocations: 249.8 kB / 0.7981 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.3542, allocations: 29.7 kB / 0.7981 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.3543, allocations: 143.8 kB / 0.7983 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.3543, allocations: 0 / 0.7983 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.3543, allocations: 21.72 kB / 0.7983 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.3544, allocations: 326.8 kB / 0.7986 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.3544, allocations: 11.98 kB / 0.7986 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.3544, allocations: 166.5 kB / 0.7988 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.3545, allocations: 48.23 kB / 0.7988 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3545, allocations: 4 kB / 0.7988 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000121/0.3546, allocations: 90.27 kB / 0.7989 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3546, allocations: 11.94 kB / 0.7989 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3546, allocations: 0 / 0.7989 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3546, allocations: 0 / 0.7989 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.3547, allocations: 8 kB / 0.7989 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3547, allocations: 7.938 kB / 0.7989 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.3547, allocations: 15.84 kB / 0.799 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3547, allocations: 7.938 kB / 0.799 GB, free: 14.39 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 8.425e-05/0.3548, allocations: 206.4 kB / 0.7992 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.3549, allocations: 122.6 kB / 0.7993 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.3549, allocations: 129.7 kB / 0.7994 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/0.3549, allocations: 184.3 kB / 0.7996 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.812e-05/0.355, allocations: 176.3 kB / 0.7997 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/0.355, allocations: 184.2 kB / 0.7999 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.3552, allocations: 412.3 kB / 0.8003 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.3552, allocations: 108.9 kB / 0.8004 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.3552, allocations: 101 kB / 0.8005 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.651e-05/0.3553, allocations: 176.3 kB / 0.8007 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.3553, allocations: 192.3 kB / 0.8009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.926e-05/0.3554, allocations: 180.3 kB / 0.801 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-05/0.3554, allocations: 188.2 kB / 0.8012 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.3555, allocations: 316.5 kB / 0.8015 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.3555, allocations: 124.9 kB / 0.8016 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.3556, allocations: 180.2 kB / 0.8018 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.3556, allocations: 112.9 kB / 0.8019 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3557, allocations: 180.3 kB / 0.8021 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.3557, allocations: 104.9 kB / 0.8022 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001117/0.3558, allocations: 185.2 kB / 0.8024 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3558, allocations: 0 / 0.8024 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001617/0.356, 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.0002735/0.3563, allocations: 0.8242 MB / 0.8032 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.78e-05/0.3563, allocations: 23.92 kB / 0.8032 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3563, allocations: 2.625 kB / 0.8032 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.3563, allocations: 0 / 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.0005505/0.3569, allocations: 0.5055 MB / 0.8037 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3582, allocations: 2.053 MB / 0.8057 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.863e-05/0.3583, allocations: 110.2 kB / 0.8058 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.999e-05/0.3584, allocations: 17.48 kB / 0.8058 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.3584, allocations: 40.48 kB / 0.8059 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.3584, allocations: 1.688 kB / 0.8059 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.3745, allocations: 4.806 MB / 0.8106 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.558/6.933, allocations: 11.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.462196005508304] Failed to read output from testmodel.py, exit status != 0: 7.014013385400176 7.022465136 6.668472199 Calling exit ...