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.00127/0.00127, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001376/0.001376, allocations: 211.5 kB / 23.03 MB, free: 4.926 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002529/0.002529, allocations: 284.8 kB / 313.5 MB, free: 2.609 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.221/1.221, allocations: 180.6 MB / 0.5377 GB, free: 14.63 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="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.002769/0.002769, allocations: 97.53 kB / 0.7403 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1894, allocations: 95.38 MB / 0.8334 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1795/0.3689, allocations: 142.2 MB / 0.9723 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005264/0.3742, allocations: 3.259 MB / 0.9755 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.3745, allocations: 15.81 kB / 0.9755 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.375, allocations: 135 kB / 0.9756 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3763, allocations: 453.9 kB / 0.976 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.3779, allocations: 0.6276 MB / 0.9767 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008587/0.3788, allocations: 0.6323 MB / 0.9773 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.3792, allocations: 192.8 kB / 0.9775 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.3807, allocations: 349.5 kB / 0.9778 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.381, allocations: 211.2 kB / 0.978 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.381, allocations: 20 kB / 0.978 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008459/0.3819, allocations: 498.7 kB / 0.9785 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.382, allocations: 99.66 kB / 0.9786 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3821, allocations: 111.5 kB / 0.9787 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.3829, allocations: 0.5489 MB / 0.9792 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.383, allocations: 3.938 kB / 0.9792 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.383, allocations: 0 / 0.9792 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.383, allocations: 0 / 0.9792 GB, free: 2.453 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.001048/0.384, allocations: 0.5746 MB / 0.9798 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.384, allocations: 9.344 kB / 0.9798 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.124e-05/0.3841, allocations: 8.438 kB / 0.9798 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.3841, allocations: 50.55 kB / 0.9799 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.3847, allocations: 83.64 kB / 0.9799 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3851, allocations: 251.7 kB / 0.9802 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3851, allocations: 12.44 kB / 0.9802 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.3851, allocations: 20 kB / 0.9802 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.3858, allocations: 363.5 kB / 0.9806 GB, free: 1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3858, allocations: 4 kB / 0.9806 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.3858, allocations: 15.94 kB / 0.9806 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3859, allocations: 4 kB / 0.9806 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/0.3865, allocations: 244.9 kB / 0.9808 GB, free: 0.7383 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.4034/0.7899, allocations: 0.9914 MB / 0.9818 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.7903, allocations: 167.7 kB / 0.9819 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.7906, allocations: 115.8 kB / 0.982 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.7911, allocations: 74.53 kB / 0.9821 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.7912, allocations: 36.75 kB / 0.9822 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.7912, allocations: 0 / 0.9822 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.002224/0.7934, allocations: 0.4942 MB / 0.9826 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.7934, allocations: 54.33 kB / 0.9827 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.7937, allocations: 259.8 kB / 0.9829 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.7937, allocations: 30.14 kB / 0.983 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.7938, allocations: 170.7 kB / 0.9831 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.7938, allocations: 49.11 kB / 0.9832 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.7939, allocations: 41.64 kB / 0.9832 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.7939, allocations: 334.5 kB / 0.9835 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.7942, allocations: 92.67 kB / 0.9836 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.7945, allocations: 160.5 kB / 0.9838 GB, free: 151 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.7951, allocations: 252.6 kB / 0.984 GB, free: 151 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7951, allocations: 0 / 0.984 GB, free: 151 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001116/0.7962, allocations: 349.3 kB / 0.9843 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7962, allocations: 5.594 kB / 0.9844 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7962, allocations: 0.6875 kB / 0.9844 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.7968, allocations: 88.2 kB / 0.9844 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.797, allocations: 45.84 kB / 0.9845 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.7989, allocations: 1.623 MB / 0.9861 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.7992, allocations: 33.25 kB / 0.9861 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.7992, allocations: 4.656 kB / 0.9861 GB, free: 149.7 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.000178/0.7994, allocations: 152.1 kB / 0.9862 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.7994, allocations: 31.88 kB / 0.9863 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.8006, allocations: 359.6 kB / 0.9866 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.8006, allocations: 2.031 kB / 0.9866 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.8006, allocations: 0 / 0.9866 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8006, allocations: 2.672 kB / 0.9866 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.8024, allocations: 0.7214 MB / 0.9873 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.8024, allocations: 5.438 kB / 0.9873 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.8026, allocations: 37.41 kB / 0.9874 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.803, allocations: 82.5 kB / 0.9875 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.8031, allocations: 6.375 kB / 0.9875 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.8049, allocations: 1.634 MB / 0.9891 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8049, allocations: 0.7188 kB / 0.9891 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.8061, allocations: 460.7 kB / 0.9895 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8062, allocations: 47.2 kB / 0.9895 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.8062, allocations: 5.672 kB / 0.9895 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.8065, allocations: 24.31 kB / 0.9896 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.8066, allocations: 18.66 kB / 0.9896 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.8066, allocations: 6.297 kB / 0.9896 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001763/0.8068, allocations: 189.8 kB / 0.9898 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8068, allocations: 0.8125 kB / 0.9898 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000417/0.8072, allocations: 87.94 kB / 0.9899 GB, free: 147.1 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.001301/0.8085, allocations: 1.031 MB / 0.9909 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008683/0.8093, allocations: 364.7 kB / 0.9912 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8093, allocations: 1.594 kB / 0.9912 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.8098, allocations: 249.2 kB / 0.9914 GB, free: 146 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.8105, allocations: 124.1 kB / 0.9916 GB, free: 146 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.8147, allocations: 2.821 MB / 0.9943 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.8148, allocations: 166.9 kB / 0.9945 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.8151, allocations: 55.47 kB / 0.9945 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.8152, allocations: 79.61 kB / 0.9946 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.8152, allocations: 0 / 0.9946 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.8541, allocations: 9.177 MB / 1.004 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.54, allocations: 7.953 kB / 1.004 GB, free: 140.7 MB / 0.7169 GB " [Timeout remaining time 646] (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: 17.659088183077984] Failed to read output from testmodel.py, exit status != 0: 13.705951556912623 13.716872427 13.331700345 Calling exit ...