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.001654/0.001654, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002005/0.002005, allocations: 210 kB / 22.24 MB, free: 5.262 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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.002431/0.002431, allocations: 284.1 kB / 312.7 MB, free: 2.598 MB / 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.162/1.162, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.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: "" <> 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 98.91 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1895, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1822/0.3717, allocations: 142.3 MB / 0.9716 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005244/0.3769, allocations: 3.263 MB / 0.9748 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.3772, allocations: 19.81 kB / 0.9748 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.3776, allocations: 135 kB / 0.975 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.3789, allocations: 461.9 kB / 0.9754 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.3804, allocations: 0.6109 MB / 0.976 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007723/0.3812, allocations: 0.6361 MB / 0.9766 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/0.3815, allocations: 172.9 kB / 0.9768 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.3828, allocations: 361.8 kB / 0.9771 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.3831, allocations: 195.2 kB / 0.9773 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.3831, allocations: 24 kB / 0.9773 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008427/0.384, allocations: 482.8 kB / 0.9778 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3841, allocations: 103.6 kB / 0.9779 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.3843, allocations: 119.5 kB / 0.978 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008002/0.3851, allocations: 0.5333 MB / 0.9785 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3851, allocations: 0 / 0.9785 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3851, allocations: 3.938 kB / 0.9785 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3851, allocations: 4 kB / 0.9785 GB, free: 2.367 MB / 0.7169 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.001057/0.3861, allocations: 0.5669 MB / 0.9791 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3862, allocations: 13.34 kB / 0.9791 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.3862, allocations: 54.55 kB / 0.9792 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005318/0.3868, allocations: 87.64 kB / 0.9792 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.3872, allocations: 239.7 kB / 0.9795 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.3872, allocations: 16.44 kB / 0.9795 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.3873, allocations: 20 kB / 0.9795 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006957/0.388, allocations: 375.5 kB / 0.9799 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.388, allocations: 4 kB / 0.9799 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.388, allocations: 8 kB / 0.9799 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.388, allocations: 7.938 kB / 0.9799 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006706/0.3887, allocations: 248.9 kB / 0.9801 GB, free: 0.6523 MB / 0.7169 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.3829/0.7716, allocations: 0.9812 MB / 0.9811 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.7721, allocations: 171.6 kB / 0.9812 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.7724, allocations: 116.4 kB / 0.9814 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/0.7729, allocations: 76.69 kB / 0.9814 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.7729, allocations: 33.03 kB / 0.9815 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.7729, allocations: 0.875 kB / 0.9815 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.00226/0.7752, allocations: 0.4982 MB / 0.9819 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.7752, allocations: 53.62 kB / 0.982 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.7755, allocations: 263.1 kB / 0.9822 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.7755, allocations: 27.23 kB / 0.9823 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.7756, allocations: 165.7 kB / 0.9824 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.7756, allocations: 50.5 kB / 0.9825 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.7757, allocations: 36.41 kB / 0.9825 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.7757, allocations: 338.5 kB / 0.9828 GB, free: 151 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.776, allocations: 97.36 kB / 0.9829 GB, free: 151 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.7763, allocations: 161.1 kB / 0.9831 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.7769, allocations: 245.9 kB / 0.9833 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7769, allocations: 0 / 0.9833 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001142/0.7781, allocations: 353.2 kB / 0.9837 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.7781, allocations: 5.625 kB / 0.9837 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.7781, allocations: 0.9375 kB / 0.9837 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.7787, allocations: 87.97 kB / 0.9837 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.7789, allocations: 44.3 kB / 0.9838 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.7808, allocations: 1.622 MB / 0.9854 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.781, allocations: 34.52 kB / 0.9854 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.781, allocations: 8.781 kB / 0.9854 GB, free: 149.5 MB / 0.7169 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.0001374/0.7812, allocations: 155.6 kB / 0.9856 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.7812, allocations: 31.84 kB / 0.9856 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.7823, allocations: 355.4 kB / 0.9859 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7823, allocations: 3.938 kB / 0.9859 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.7823, allocations: 0 / 0.9859 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7823, allocations: 7.812 kB / 0.9859 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.7839, allocations: 0.7249 MB / 0.9866 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7839, allocations: 1.469 kB / 0.9866 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.7841, allocations: 37 kB / 0.9867 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.7846, allocations: 77.78 kB / 0.9868 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7846, allocations: 9.125 kB / 0.9868 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.7863, allocations: 1.635 MB / 0.9884 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7863, allocations: 1.578 kB / 0.9884 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.7874, allocations: 454.9 kB / 0.9888 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7875, allocations: 44.27 kB / 0.9888 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.7876, allocations: 11.02 kB / 0.9889 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.7878, allocations: 24.2 kB / 0.9889 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.7879, allocations: 22.05 kB / 0.9889 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.7879, allocations: 11.25 kB / 0.9889 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001721/0.7881, allocations: 186.9 kB / 0.9891 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7881, allocations: 0 / 0.9891 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004331/0.7885, allocations: 85.53 kB / 0.9892 GB, free: 147 MB / 0.7169 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.001378/0.7899, allocations: 1.027 MB / 0.9902 GB, free: 146.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009661/0.7909, allocations: 357.5 kB / 0.9905 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7909, allocations: 3.844 kB / 0.9905 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.7914, allocations: 257.5 kB / 0.9908 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.7921, allocations: 121.6 kB / 0.9909 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.7963, allocations: 2.815 MB / 0.9936 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.7965, allocations: 164.8 kB / 0.9938 GB, free: 144 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002281/0.7967, allocations: 60.91 kB / 0.9938 GB, free: 144 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.7968, allocations: 73.89 kB / 0.9939 GB, free: 144 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.7968, allocations: 0 / 0.9939 GB, free: 144 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.8379, allocations: 9.523 MB / 1.003 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.94, allocations: 14.02 kB / 1.003 GB, free: 140.3 MB / 0.7169 GB " [Timeout remaining time 647] (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: 16.952969969715923] Failed to read output from testmodel.py, exit status != 0: 13.056763069238514 13.073790874 12.685697306 Calling exit ...