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.00122/0.00122, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001126/0.001126, allocations: 200.3 kB / 16.26 MB, free: 6.621 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 279 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9194/0.9194, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 92.56 kB / 0.5948 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1467, allocations: 86.98 MB / 0.6797 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.43/0.5767, allocations: 159.3 MB / 0.8353 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.5803, allocations: 3.46 MB / 0.8387 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.5805, allocations: 9.125 kB / 0.8387 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.5808, allocations: 117.6 kB / 0.8388 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008889/0.5817, allocations: 429.3 kB / 0.8392 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.5829, allocations: 0.5365 MB / 0.8397 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.5834, allocations: 0.6341 MB / 0.8403 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.5837, allocations: 220.9 kB / 0.8405 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.585, allocations: 341.4 kB / 0.8409 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.5852, allocations: 200.4 kB / 0.8411 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.5853, allocations: 23.34 kB / 0.8411 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006994/0.586, allocations: 0.5708 MB / 0.8416 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.5861, allocations: 96.25 kB / 0.8417 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.5862, allocations: 149.9 kB / 0.8419 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.5868, allocations: 0.5846 MB / 0.8424 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5869, allocations: 0 / 0.8424 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5869, allocations: 0 / 0.8424 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.5869, allocations: 0 / 0.8424 GB, free: 14.94 MB / 0.5762 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.0009348/0.5878, allocations: 0.6401 MB / 0.8431 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5879, allocations: 8.812 kB / 0.8431 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.5879, allocations: 56.58 kB / 0.8431 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.5884, allocations: 78.53 kB / 0.8432 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.5887, allocations: 292.2 kB / 0.8435 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5887, allocations: 17.69 kB / 0.8435 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.5888, allocations: 15.91 kB / 0.8435 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.5894, allocations: 317 kB / 0.8438 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5894, allocations: 0 / 0.8438 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.5894, allocations: 9.469 kB / 0.8438 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5894, allocations: 9.344 kB / 0.8438 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.59, allocations: 249.6 kB / 0.8441 GB, free: 14.02 MB / 0.5762 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.001394/0.5914, allocations: 1.246 MB / 0.8453 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.5918, allocations: 174.3 kB / 0.8455 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.5922, allocations: 132.1 kB / 0.8456 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.5927, allocations: 297.2 kB / 0.8459 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.5927, allocations: 39.81 kB / 0.8459 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.5927, allocations: 0 / 0.8459 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002132/0.5949, allocations: 0.5732 MB / 0.8465 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.5949, allocations: 61.81 kB / 0.8465 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.5951, allocations: 261 kB / 0.8468 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5952, allocations: 33.7 kB / 0.8468 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.5953, allocations: 157.7 kB / 0.8469 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.5953, allocations: 50.95 kB / 0.847 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.5954, allocations: 38.42 kB / 0.847 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.5955, allocations: 332.1 kB / 0.8474 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.5957, allocations: 90.33 kB / 0.8474 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.596, allocations: 144 kB / 0.8476 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.5966, allocations: 235.8 kB / 0.8478 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5966, allocations: 0 / 0.8478 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001074/0.5976, allocations: 365 kB / 0.8481 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5977, allocations: 7.219 kB / 0.8482 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5977, allocations: 0 / 0.8482 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.5983, allocations: 92.11 kB / 0.8482 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.5985, allocations: 40.8 kB / 0.8483 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.6005, allocations: 1.733 MB / 0.85 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.6007, allocations: 40.22 kB / 0.85 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.6007, allocations: 7.938 kB / 0.85 GB, free: 9 MB / 0.5762 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.0001287/0.6009, allocations: 142.2 kB / 0.8502 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.6009, allocations: 25.16 kB / 0.8502 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.602, allocations: 363.5 kB / 0.8505 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6021, allocations: 6.5 kB / 0.8505 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.6021, allocations: 0 / 0.8505 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6021, allocations: 0 / 0.8505 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.6037, allocations: 0.7746 MB / 0.8513 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6037, allocations: 0 / 0.8513 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.6039, allocations: 39.56 kB / 0.8513 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.6043, allocations: 81.2 kB / 0.8514 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.6043, allocations: 10.69 kB / 0.8514 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.6062, allocations: 1.745 MB / 0.8531 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6062, allocations: 4.062 kB / 0.8531 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6072, allocations: 456.3 kB / 0.8536 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6074, allocations: 121.3 kB / 0.8537 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.6074, allocations: 5.875 kB / 0.8537 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.6077, allocations: 34.64 kB / 0.8537 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.6078, allocations: 18.8 kB / 0.8537 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.6078, allocations: 10.5 kB / 0.8537 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001485/0.6079, allocations: 184.9 kB / 0.8539 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6079, allocations: 0 / 0.8539 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003866/0.6083, allocations: 87.17 kB / 0.854 GB, free: 5.676 MB / 0.5762 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.001509/0.6099, allocations: 1.044 MB / 0.855 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009192/0.6108, allocations: 370.2 kB / 0.8554 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6108, allocations: 0 / 0.8554 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005472/0.6113, allocations: 259.4 kB / 0.8556 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.612, allocations: 135.1 kB / 0.8557 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.6164, allocations: 2.879 MB / 0.8586 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.6166, allocations: 0.771 MB / 0.8593 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001927/0.6168, allocations: 53.14 kB / 0.8594 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.617, allocations: 76.03 kB / 0.8594 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.617, allocations: 3.938 kB / 0.8594 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1249/0.7419, allocations: 8.344 MB / 0.8676 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.7421, allocations: 289.9 kB / 0.8679 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.583, allocations: 3 kB / 0.8679 GB, free: 12.87 MB / 0.5919 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)