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.001322/0.001322, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001461/0.001461, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.961 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.002424/0.002424, allocations: 282.5 kB / 312.7 MB, free: 2.773 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.203/1.203, allocations: 180.6 MB / 0.5369 GB, free: 12.92 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.002817/0.002817, allocations: 101.2 kB / 0.7396 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.19, allocations: 95.39 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6541/0.8441, allocations: 165 MB / 0.9939 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004277/0.8484, allocations: 3.53 MB / 0.9974 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.8488, allocations: 18.56 kB / 0.9974 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.8493, allocations: 141 kB / 0.9975 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.8509, allocations: 477.2 kB / 0.998 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.8532, allocations: 0.6296 MB / 0.9986 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.8541, allocations: 0.6389 MB / 0.9992 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.8545, allocations: 189.3 kB / 0.9994 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.8561, allocations: 360.5 kB / 0.9997 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.8565, allocations: 208.2 kB / 0.9999 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.8565, allocations: 22.34 kB / 0.9999 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.8579, allocations: 0.5975 MB / 1.001 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.8581, allocations: 102.9 kB / 1.001 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.8583, allocations: 142.5 kB / 1.001 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.8594, allocations: 0.5651 MB / 1.001 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8594, allocations: 1.094 kB / 1.001 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8594, allocations: 0.7812 kB / 1.001 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.8595, allocations: 1.031 kB / 1.001 GB, free: 3.375 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.001352/0.8608, allocations: 0.5678 MB / 1.002 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.8608, allocations: 12.22 kB / 1.002 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.8609, allocations: 54.58 kB / 1.002 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005651/0.8615, allocations: 81.73 kB / 1.002 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.8619, allocations: 249.9 kB / 1.002 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.8619, allocations: 17.72 kB / 1.002 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.862, allocations: 15.62 kB / 1.002 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.8626, allocations: 314.7 kB / 1.003 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8626, allocations: 0.875 kB / 1.003 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.8626, allocations: 9.719 kB / 1.003 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.8627, allocations: 9.391 kB / 1.003 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.8633, allocations: 249 kB / 1.003 GB, free: 18.69 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.001648/0.865, allocations: 1.208 MB / 1.004 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.8654, allocations: 168.9 kB / 1.004 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.8657, allocations: 114.4 kB / 1.004 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.8662, allocations: 76.28 kB / 1.004 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.8663, allocations: 39.61 kB / 1.004 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.8663, allocations: 0 / 1.004 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.002304/0.8686, allocations: 0.5029 MB / 1.005 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.8686, allocations: 55.34 kB / 1.005 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.8689, allocations: 258.6 kB / 1.005 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.869, allocations: 31.23 kB / 1.005 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.8691, allocations: 167.2 kB / 1.005 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.8691, allocations: 51.27 kB / 1.005 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.8692, allocations: 42.91 kB / 1.005 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8693, allocations: 337.1 kB / 1.006 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.8697, allocations: 94.56 kB / 1.006 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.87, allocations: 136.6 kB / 1.006 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.8706, allocations: 237.3 kB / 1.006 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8706, allocations: 1.203 kB / 1.006 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001249/0.8718, allocations: 360.8 kB / 1.007 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.8719, allocations: 8.516 kB / 1.007 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8719, allocations: 1.688 kB / 1.007 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/0.8725, allocations: 86.41 kB / 1.007 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.8728, allocations: 45.8 kB / 1.007 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.875, allocations: 1.617 MB / 1.008 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.8753, allocations: 38.06 kB / 1.008 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.8753, allocations: 9.5 kB / 1.008 GB, free: 15.66 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.000183/0.8755, allocations: 139.8 kB / 1.008 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.8755, allocations: 32.19 kB / 1.009 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.8766, allocations: 371.4 kB / 1.009 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.8766, allocations: 2.062 kB / 1.009 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.8766, allocations: 0.9688 kB / 1.009 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8767, allocations: 0 / 1.009 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.8782, allocations: 0.7514 MB / 1.01 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8782, allocations: 3.734 kB / 1.01 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.8783, allocations: 40.92 kB / 1.01 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.8787, allocations: 76.66 kB / 1.01 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.8788, allocations: 6.406 kB / 1.01 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.8806, allocations: 1.644 MB / 1.011 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8806, allocations: 1.281 kB / 1.011 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.8817, allocations: 455.9 kB / 1.012 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8818, allocations: 44.92 kB / 1.012 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.8818, allocations: 4.375 kB / 1.012 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.882, allocations: 29.62 kB / 1.012 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.8821, allocations: 24.77 kB / 1.012 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.8821, allocations: 4.125 kB / 1.012 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000172/0.8823, allocations: 194.6 kB / 1.012 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8823, allocations: 0.9375 kB / 1.012 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004442/0.8828, allocations: 85.14 kB / 1.012 GB, free: 13.61 MB / 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.001517/0.8843, allocations: 1.025 MB / 1.013 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009363/0.8852, allocations: 362.8 kB / 1.013 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8852, allocations: 3.672 kB / 1.013 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005169/0.8857, allocations: 247.2 kB / 1.014 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.8864, allocations: 111.4 kB / 1.014 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.8909, allocations: 2.838 MB / 1.017 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.8913, allocations: 0.7709 MB / 1.017 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.8915, allocations: 53.88 kB / 1.017 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.8917, allocations: 76 kB / 1.017 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.8917, allocations: 0 / 1.017 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.9309, allocations: 8.858 MB / 1.026 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.52, allocations: 4.016 kB / 1.026 GB, free: 9.781 MB / 0.7325 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 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.666094214000623] Failed to read output from testmodel.py, exit status != 0: 12.638149840000551 12.66025774 11.796688412 Calling exit ...