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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005822/0.005822, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 194.2 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 301 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8693/0.8693, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 95.86 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4133, allocations: 86.97 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1591/0.5724, allocations: 161.5 MB / 0.9236 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004852/0.5773, allocations: 3.492 MB / 0.927 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.5776, allocations: 11.94 kB / 0.927 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.578, allocations: 134.9 kB / 0.9272 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.5792, allocations: 449.9 kB / 0.9276 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.5807, allocations: 0.6031 MB / 0.9282 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.5814, allocations: 0.6244 MB / 0.9288 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.5817, allocations: 232.7 kB / 0.929 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.5827, allocations: 342.7 kB / 0.9293 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.583, allocations: 195.2 kB / 0.9295 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.583, allocations: 24 kB / 0.9296 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008903/0.5839, allocations: 0.5417 MB / 0.9301 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.5841, allocations: 103.7 kB / 0.9302 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.5842, allocations: 143.2 kB / 0.9303 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.5849, allocations: 0.557 MB / 0.9309 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5849, allocations: 4 kB / 0.9309 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5849, allocations: 0 / 0.9309 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.585, allocations: 0 / 0.9309 GB, free: 10.32 MB / 0.7012 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.001028/0.586, allocations: 0.6427 MB / 0.9315 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.586, allocations: 8.031 kB / 0.9315 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.5861, allocations: 54.55 kB / 0.9316 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.5866, allocations: 71.52 kB / 0.9316 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.587, allocations: 321.2 kB / 0.9319 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.587, allocations: 12.44 kB / 0.9319 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.5871, allocations: 20 kB / 0.932 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.5877, allocations: 308.2 kB / 0.9323 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5877, allocations: 0 / 0.9323 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.5877, allocations: 15.98 kB / 0.9323 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5878, allocations: 7.938 kB / 0.9323 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.5884, allocations: 240.9 kB / 0.9325 GB, free: 8.527 MB / 0.7012 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.001591/0.59, allocations: 1.248 MB / 0.9337 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.5904, allocations: 174.5 kB / 0.9339 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.5908, allocations: 130.4 kB / 0.934 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.5913, allocations: 299.2 kB / 0.9343 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5914, allocations: 42.56 kB / 0.9343 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.5914, allocations: 0 / 0.9343 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.00216/0.5935, allocations: 0.573 MB / 0.9349 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.5936, allocations: 51.41 kB / 0.9349 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.5938, allocations: 259 kB / 0.9352 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.5939, allocations: 33.7 kB / 0.9352 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.594, allocations: 168.1 kB / 0.9354 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.594, allocations: 55.23 kB / 0.9354 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.5941, allocations: 33.72 kB / 0.9355 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5942, allocations: 330.8 kB / 0.9358 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.5945, allocations: 95.91 kB / 0.9359 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.5948, allocations: 140.1 kB / 0.936 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.5954, allocations: 237.7 kB / 0.9362 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5954, allocations: 0 / 0.9362 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00111/0.5965, allocations: 353.8 kB / 0.9366 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5965, allocations: 12.12 kB / 0.9366 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5965, allocations: 0 / 0.9366 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.5971, allocations: 92.69 kB / 0.9367 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.5973, allocations: 39.97 kB / 0.9367 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.5995, allocations: 1.728 MB / 0.9384 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.5997, allocations: 35.72 kB / 0.9384 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.5997, allocations: 8 kB / 0.9384 GB, free: 2 MB / 0.7012 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.0001345/0.5999, allocations: 141.8 kB / 0.9386 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.5999, allocations: 27.78 kB / 0.9386 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.6011, allocations: 363.9 kB / 0.939 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6011, allocations: 4 kB / 0.939 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.6011, allocations: 0 / 0.939 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6011, allocations: 0 / 0.939 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.6027, allocations: 0.7824 MB / 0.9397 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6027, allocations: 4 kB / 0.9397 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.6029, allocations: 35.91 kB / 0.9398 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/0.6033, allocations: 84.8 kB / 0.9398 GB, free: 492 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.6034, allocations: 4 kB / 0.9398 GB, free: 488 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.6052, allocations: 1.739 MB / 0.9415 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6052, allocations: 0 / 0.9415 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.6063, allocations: 450.4 kB / 0.942 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.6065, allocations: 128.7 kB / 0.9421 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.6065, allocations: 15.92 kB / 0.9421 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.6068, allocations: 15.98 kB / 0.9421 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.6068, allocations: 23.91 kB / 0.9421 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.6069, allocations: 8 kB / 0.9422 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001595/0.607, allocations: 186 kB / 0.9423 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.607, allocations: 0 / 0.9423 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003822/0.6074, allocations: 83.83 kB / 0.9424 GB, free: 13.66 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.00158/0.609, allocations: 1.039 MB / 0.9434 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009427/0.61, allocations: 370.5 kB / 0.9438 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.61, allocations: 0 / 0.9438 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.6105, allocations: 250.5 kB / 0.944 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.6112, allocations: 131.9 kB / 0.9441 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.6156, allocations: 2.816 MB / 0.9469 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.6159, allocations: 0.7714 MB / 0.9476 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000166/0.6161, allocations: 58.2 kB / 0.9477 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6162, allocations: 75.41 kB / 0.9478 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.6162, allocations: 0 / 0.9478 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3396/0.9558, allocations: 8.629 MB / 0.9562 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.72, allocations: 6.406 kB / 0.9562 GB, free: 190.1 MB / 0.7169 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)