Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.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.0008172/0.0008172, 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.0007693/0.0007693, 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.8911/0.8911, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001541/0.001541, allocations: 229.5 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.6853/0.6853, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.273e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.3727/0.3727, allocations: 145.7 MB / 0.7886 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.375, allocations: 1.48 MB / 0.79 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.3753, allocations: 19.81 kB / 0.79 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.3758, allocations: 154.8 kB / 0.7902 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009881/0.3768, allocations: 477.5 kB / 0.7906 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3783, allocations: 0.7886 MB / 0.7914 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007058/0.379, allocations: 0.7095 MB / 0.7921 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.3793, allocations: 199 kB / 0.7923 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.3799, allocations: 406.8 kB / 0.7927 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.3802, allocations: 203.4 kB / 0.7929 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.3802, allocations: 32 kB / 0.7929 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.3815, allocations: 0.7633 MB / 0.7936 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3816, allocations: 115.7 kB / 0.7938 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.3817, allocations: 119.7 kB / 0.7939 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.3829, allocations: 0.7674 MB / 0.7946 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3829, allocations: 0 / 0.7946 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3829, allocations: 0 / 0.7946 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3829, allocations: 0.6562 kB / 0.7946 GB, free: 3.223 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00105/0.384, allocations: 0.6152 MB / 0.7952 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.384, allocations: 9.938 kB / 0.7952 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.3841, allocations: 58.53 kB / 0.7953 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.3844, allocations: 87.69 kB / 0.7954 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3848, allocations: 248.6 kB / 0.7956 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.3848, allocations: 24.48 kB / 0.7956 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.3848, allocations: 20.56 kB / 0.7956 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.3853, allocations: 357.2 kB / 0.796 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3853, allocations: 0 / 0.796 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.3853, allocations: 12 kB / 0.796 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3854, allocations: 8 kB / 0.796 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.3857, allocations: 289.6 kB / 0.7963 GB, free: 1.438 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.3869, allocations: 0.9822 MB / 0.7972 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.3874, allocations: 246.5 kB / 0.7975 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3875, allocations: 120.8 kB / 0.7976 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.3879, allocations: 84.41 kB / 0.7977 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3879, allocations: 42.55 kB / 0.7977 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.3879, allocations: 0 / 0.7977 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0007402/0.3886, allocations: 401.2 kB / 0.7981 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3887, allocations: 55.34 kB / 0.7982 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3889, allocations: 276.1 kB / 0.7984 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3889, allocations: 29.7 kB / 0.7984 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.389, allocations: 168.4 kB / 0.7986 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.389, allocations: 75.33 kB / 0.7987 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.3891, allocations: 45.7 kB / 0.7987 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.3892, allocations: 334.8 kB / 0.799 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3893, allocations: 106.1 kB / 0.7991 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3895, allocations: 241.7 kB / 0.7994 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.3899, allocations: 262.7 kB / 0.7996 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3899, allocations: 0 / 0.7996 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004158/0.3903, allocations: 327.7 kB / 0.7999 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3903, allocations: 8 kB / 0.7999 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3903, allocations: 0 / 0.7999 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3904, allocations: 4 kB / 0.7999 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3905, allocations: 59.89 kB / 0.8 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3905, allocations: 12.09 kB / 0.8 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.3906, allocations: 31.86 kB / 0.8 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3906, allocations: 8 kB / 0.8001 GB, free: 13.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001118/0.3908, allocations: 149.8 kB / 0.8002 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3908, allocations: 27.81 kB / 0.8002 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.3913, allocations: 329.9 kB / 0.8005 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3913, allocations: 0 / 0.8005 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3913, allocations: 0 / 0.8005 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3913, allocations: 7.938 kB / 0.8005 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3924, allocations: 0.7516 MB / 0.8013 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3924, allocations: 0 / 0.8013 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3925, allocations: 50.28 kB / 0.8013 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.3925, allocations: 4 kB / 0.8013 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3925, allocations: 7.984 kB / 0.8013 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3925, allocations: 4.188 kB / 0.8013 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3926, allocations: 7.938 kB / 0.8013 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.3932, allocations: 0.557 MB / 0.8019 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.3933, allocations: 47.8 kB / 0.8019 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.3933, allocations: 11.28 kB / 0.8019 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3934, allocations: 19.97 kB / 0.802 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.3935, allocations: 24.66 kB / 0.802 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3935, allocations: 12 kB / 0.802 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001272/0.3936, allocations: 187.1 kB / 0.8022 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3936, allocations: 0 / 0.8022 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000378/0.394, allocations: 123.6 kB / 0.8023 GB, free: 10.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.001073/0.395, allocations: 1.18 MB / 0.8034 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.3955, allocations: 252.6 kB / 0.8037 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3955, allocations: 0 / 0.8037 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3957, allocations: 136.1 kB / 0.8038 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3962, allocations: 128.8 kB / 0.8039 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.3989, allocations: 2.95 MB / 0.8068 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.399, allocations: 175.1 kB / 0.807 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.3992, allocations: 72.86 kB / 0.8071 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3993, allocations: 92.47 kB / 0.8071 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.3993, allocations: 0 / 0.8071 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.4257, allocations: 10.18 MB / 0.8171 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.32, allocations: 12.52 kB / 0.8171 GB, free: 12.01 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.953416999429464] Failed to read output from testmodel.py, exit status != 0: 7.4068799410015345 7.42178155 7.035309143 Calling exit ...