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.001532/0.001532, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001472/0.001472, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.415/1.415, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.002345/0.002345, allocations: 286.9 kB / 309.8 MB, free: 3.473 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.088/1.088, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="cs",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.002745/0.002745, allocations: 99.86 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5344, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1927/0.727, allocations: 164.9 MB / 0.9888 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005084/0.7321, allocations: 3.508 MB / 0.9923 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.7325, allocations: 11.88 kB / 0.9923 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.7329, allocations: 142.9 kB / 0.9924 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.7342, allocations: 473.9 kB / 0.9929 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.7357, allocations: 0.6054 MB / 0.9934 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.7364, allocations: 0.6243 MB / 0.9941 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.7368, allocations: 207.5 kB / 0.9943 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.7382, allocations: 350.6 kB / 0.9946 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.7385, allocations: 215.1 kB / 0.9948 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.7385, allocations: 20 kB / 0.9948 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.7396, allocations: 0.5768 MB / 0.9954 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.7398, allocations: 99.72 kB / 0.9955 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.7399, allocations: 155.2 kB / 0.9956 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.7408, allocations: 0.5566 MB / 0.9962 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.7408, allocations: 4 kB / 0.9962 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7408, allocations: 0 / 0.9962 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7408, allocations: 4 kB / 0.9962 GB, free: 13.16 MB / 0.7325 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.001104/0.7419, allocations: 0.6344 MB / 0.9968 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7419, allocations: 16.03 kB / 0.9968 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.435e-05/0.742, allocations: 4.438 kB / 0.9968 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.742, allocations: 54.55 kB / 0.9969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.7426, allocations: 83.64 kB / 0.9969 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.7431, allocations: 313.5 kB / 0.9972 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.7431, allocations: 16.44 kB / 0.9973 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.7432, allocations: 16 kB / 0.9973 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.7439, allocations: 316.1 kB / 0.9976 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7439, allocations: 4 kB / 0.9976 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.7439, allocations: 11.94 kB / 0.9976 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7439, allocations: 4 kB / 0.9976 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000684/0.7446, allocations: 252.9 kB / 0.9978 GB, free: 11.34 MB / 0.7325 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.001635/0.7462, allocations: 1.248 MB / 0.9991 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.7467, allocations: 174.4 kB / 0.9992 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.747, allocations: 116.8 kB / 0.9993 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.7476, allocations: 299.2 kB / 0.9996 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.7476, allocations: 38.56 kB / 0.9997 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.7476, allocations: 4 kB / 0.9997 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.002275/0.7499, allocations: 0.5726 MB / 1 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.75, allocations: 55.41 kB / 1 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.7502, allocations: 259 kB / 1.001 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.7503, allocations: 33.7 kB / 1.001 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.7504, allocations: 168.3 kB / 1.001 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.7504, allocations: 51.59 kB / 1.001 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.7505, allocations: 29.72 kB / 1.001 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7507, allocations: 334.8 kB / 1.001 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.751, allocations: 95.91 kB / 1.001 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.7513, allocations: 136.2 kB / 1.001 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.7519, allocations: 236.1 kB / 1.002 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7519, allocations: 0 / 1.002 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/0.7531, allocations: 354 kB / 1.002 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7531, allocations: 4 kB / 1.002 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.7531, allocations: 7.938 kB / 1.002 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/0.7537, allocations: 88.84 kB / 1.002 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.754, allocations: 47.91 kB / 1.002 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.7564, allocations: 1.728 MB / 1.004 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.7567, allocations: 31.86 kB / 1.004 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.7567, allocations: 8 kB / 1.004 GB, free: 4.836 MB / 0.7325 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.0001942/0.7569, allocations: 149.8 kB / 1.004 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.757, allocations: 31.8 kB / 1.004 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.7581, allocations: 364.8 kB / 1.004 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7581, allocations: 0 / 1.004 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.7581, allocations: 0 / 1.004 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.7582, allocations: 7.984 kB / 1.004 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.7598, allocations: 0.7669 MB / 1.005 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.7598, allocations: 7.922 kB / 1.005 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.76, allocations: 31.97 kB / 1.005 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.7605, allocations: 84.75 kB / 1.005 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.7605, allocations: 8 kB / 1.005 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.7626, allocations: 1.736 MB / 1.007 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7626, allocations: 0 / 1.007 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.7638, allocations: 464.4 kB / 1.007 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.7639, allocations: 124.9 kB / 1.007 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.7639, allocations: 3.938 kB / 1.007 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.7642, allocations: 23.97 kB / 1.007 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.7643, allocations: 19.97 kB / 1.007 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.7643, allocations: 4.062 kB / 1.007 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001966/0.7645, allocations: 186 kB / 1.008 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7645, allocations: 4 kB / 1.008 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004361/0.7649, allocations: 91.77 kB / 1.008 GB, free: 488 kB / 0.7325 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.001652/0.7666, allocations: 1.022 MB / 1.009 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.7676, allocations: 358.6 kB / 1.009 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7676, allocations: 4 kB / 1.009 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.7682, allocations: 250.4 kB / 1.009 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.7689, allocations: 126.7 kB / 1.009 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.7739, allocations: 2.825 MB / 1.012 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.7743, allocations: 0.7714 MB / 1.013 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.7745, allocations: 58.25 kB / 1.013 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.7746, allocations: 75.41 kB / 1.013 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of SimCode: time 7.52e-07/0.7746, allocations: 0 / 1.013 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.806, allocations: 8.74 MB / 1.022 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.56, allocations: 12.58 kB / 1.022 GB, free: 2.293 MB / 0.7481 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 os._exit(0), Time elapsed: 16.500131402979605] Failed to read output from testmodel.py, exit status != 0: 12.709444780019112 12.724873151 11.981081323 Calling exit ...