Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.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.0008554/0.0008554, 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.0009807/0.0009807, 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.8724/0.8724, 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.001472/0.001472, allocations: 232 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.662/0.662, allocations: 138.4 MB / 454.3 MB, free: 29.99 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.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 3.984 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.242e-05, allocations: 12.55 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3402/0.3402, allocations: 142.3 MB / 0.7853 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.3435, allocations: 3.246 MB / 0.7884 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.3438, allocations: 15.88 kB / 0.7884 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.3442, allocations: 139 kB / 0.7886 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00093/0.3451, allocations: 465.4 kB / 0.789 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.3463, allocations: 0.6361 MB / 0.7896 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007855/0.3471, allocations: 0.6244 MB / 0.7902 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.3474, allocations: 186.4 kB / 0.7904 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009614/0.3483, allocations: 421.2 kB / 0.7908 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.3485, allocations: 187.4 kB / 0.791 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.3485, allocations: 24 kB / 0.791 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006505/0.3492, allocations: 487.2 kB / 0.7915 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.3493, allocations: 103.6 kB / 0.7916 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.3493, allocations: 95.77 kB / 0.7917 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.3501, allocations: 0.5764 MB / 0.7922 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3501, allocations: 4 kB / 0.7922 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3501, allocations: 0 / 0.7922 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3501, allocations: 0 / 0.7922 GB, free: 5.613 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007877/0.3509, allocations: 0.5694 MB / 0.7928 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3509, allocations: 13.94 kB / 0.7928 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.351, allocations: 50.55 kB / 0.7929 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.3514, allocations: 83.67 kB / 0.7929 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.3517, allocations: 248.1 kB / 0.7932 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3517, allocations: 12.5 kB / 0.7932 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.3518, allocations: 24 kB / 0.7932 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.3522, allocations: 368.2 kB / 0.7936 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3522, allocations: 0 / 0.7936 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3522, allocations: 12 kB / 0.7936 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3522, allocations: 4 kB / 0.7936 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.3526, allocations: 248.8 kB / 0.7938 GB, free: 3.922 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.001001/0.3536, allocations: 0.9966 MB / 0.7948 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.3539, allocations: 166.5 kB / 0.795 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.354, allocations: 116.8 kB / 0.7951 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.3543, allocations: 75.84 kB / 0.7951 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3543, allocations: 42.56 kB / 0.7952 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3543, allocations: 0 / 0.7952 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001137/0.3555, allocations: 0.491 MB / 0.7957 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3555, allocations: 55.34 kB / 0.7957 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3557, allocations: 264.2 kB / 0.796 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3557, allocations: 25.7 kB / 0.796 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.3558, allocations: 168.2 kB / 0.7961 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.3558, allocations: 55.52 kB / 0.7962 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.3559, allocations: 37.7 kB / 0.7962 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.3559, allocations: 338.8 kB / 0.7966 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3561, allocations: 96.78 kB / 0.7967 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3563, allocations: 154.8 kB / 0.7968 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.3566, allocations: 242.2 kB / 0.797 GB, free: 484 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3566, allocations: 0 / 0.797 GB, free: 484 kB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000585/0.3572, allocations: 354 kB / 0.7974 GB, free: 120 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3572, allocations: 8 kB / 0.7974 GB, free: 112 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3572, allocations: 0 / 0.7974 GB, free: 112 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.3575, allocations: 92.84 kB / 0.7975 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3576, allocations: 45.97 kB / 0.7975 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.3591, allocations: 1.603 MB / 0.7991 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.3592, allocations: 38.94 kB / 0.7991 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3592, allocations: 16 kB / 0.7991 GB, free: 14.21 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.3594, allocations: 150.4 kB / 0.7993 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.3594, allocations: 26.48 kB / 0.7993 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.36, allocations: 359.9 kB / 0.7996 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.36, allocations: 4 kB / 0.7996 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.36, allocations: 3.938 kB / 0.7996 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.36, allocations: 0 / 0.7996 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3611, allocations: 0.7238 MB / 0.8004 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3611, allocations: 0 / 0.8004 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.3612, allocations: 31.97 kB / 0.8004 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/0.3614, allocations: 80.86 kB / 0.8005 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3614, allocations: 4 kB / 0.8005 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3625, allocations: 1.638 MB / 0.8021 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3625, allocations: 4.031 kB / 0.8021 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.3631, allocations: 450.5 kB / 0.8025 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.3632, allocations: 55.7 kB / 0.8025 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3632, allocations: 4 kB / 0.8026 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3633, allocations: 24.11 kB / 0.8026 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.3634, allocations: 27.89 kB / 0.8026 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3634, allocations: 8 kB / 0.8026 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3635, allocations: 187.1 kB / 0.8028 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3635, allocations: 0 / 0.8028 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000311/0.3638, allocations: 87.88 kB / 0.8029 GB, free: 10.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.365, allocations: 1.026 MB / 0.8039 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.3656, allocations: 354.4 kB / 0.8042 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3656, allocations: 0 / 0.8042 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.3659, allocations: 255 kB / 0.8045 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.3664, allocations: 122.8 kB / 0.8046 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.3693, allocations: 2.814 MB / 0.8073 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3694, allocations: 166.8 kB / 0.8075 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.3696, allocations: 56.06 kB / 0.8075 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.3697, allocations: 84.47 kB / 0.8076 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.3697, allocations: 0 / 0.8076 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.394, allocations: 9.656 MB / 0.817 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.403, allocations: 7.156 kB / 0.8171 GB, free: 11.77 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.924047422595322] Failed to read output from testmodel.py, exit status != 0: 8.495533342473209 8.506519938 8.154468501 Calling exit ...