Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001701/0.001702, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.3 MB / 0.5492 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.81 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2264, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6382/0.8646, allocations: 159.3 MB / 0.9391 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004779/0.8695, allocations: 3.459 MB / 0.9424 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.8699, allocations: 10.91 kB / 0.9424 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.8705, allocations: 113.2 kB / 0.9425 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.8719, allocations: 413.5 kB / 0.9429 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.8738, allocations: 0.5479 MB / 0.9435 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.8747, allocations: 0.6266 MB / 0.9441 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.8751, allocations: 221.5 kB / 0.9443 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.8767, allocations: 336.5 kB / 0.9446 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.8771, allocations: 212.2 kB / 0.9448 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.8772, allocations: 21 kB / 0.9448 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.8785, allocations: 0.5666 MB / 0.9454 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.8786, allocations: 98.53 kB / 0.9455 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.8788, allocations: 140.5 kB / 0.9456 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.8796, allocations: 404 kB / 0.946 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8797, allocations: 0 / 0.946 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.288e-06/0.8797, allocations: 0 / 0.946 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.8797, allocations: 2.906 kB / 0.946 GB, free: 5.828 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.001941/0.8816, allocations: 0.6315 MB / 0.9466 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.8817, allocations: 6.875 kB / 0.9466 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.8825, allocations: 77.83 kB / 0.9467 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.883, allocations: 291.3 kB / 0.947 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.8831, allocations: 15.62 kB / 0.947 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.8831, allocations: 18.09 kB / 0.947 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.8839, allocations: 315.3 kB / 0.9473 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.884, allocations: 1.094 kB / 0.9473 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.884, allocations: 10.94 kB / 0.9473 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.884, allocations: 5.25 kB / 0.9473 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.8848, allocations: 256.5 kB / 0.9476 GB, free: 21.03 MB / 0.7481 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.002/0.8868, allocations: 1.241 MB / 0.9488 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.8873, allocations: 176.4 kB / 0.949 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.8876, allocations: 123.8 kB / 0.9491 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.8883, allocations: 304 kB / 0.9494 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.8884, allocations: 41.25 kB / 0.9494 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.8884, allocations: 0 / 0.9494 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.002402/0.8908, allocations: 0.5686 MB / 0.95 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.8909, allocations: 53.06 kB / 0.95 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.8912, allocations: 256.5 kB / 0.9503 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.8912, allocations: 29.7 kB / 0.9503 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.8914, allocations: 166.5 kB / 0.9504 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.8914, allocations: 49.28 kB / 0.9505 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.8915, allocations: 42.22 kB / 0.9505 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8917, allocations: 332 kB / 0.9509 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.892, allocations: 93.78 kB / 0.9509 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.8924, allocations: 140.9 kB / 0.9511 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.893, allocations: 246.1 kB / 0.9513 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.893, allocations: 0 / 0.9513 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001336/0.8944, allocations: 350.9 kB / 0.9516 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.8944, allocations: 10.88 kB / 0.9517 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.8944, allocations: 1.766 kB / 0.9517 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006835/0.8951, allocations: 90.66 kB / 0.9517 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.8954, allocations: 40.28 kB / 0.9518 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.898, allocations: 1.728 MB / 0.9535 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.8984, allocations: 38.3 kB / 0.9535 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.8985, allocations: 10.45 kB / 0.9535 GB, free: 17.4 MB / 0.7481 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.0002299/0.8987, allocations: 144.3 kB / 0.9537 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.8988, allocations: 23.59 kB / 0.9537 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.9, allocations: 364.7 kB / 0.954 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.9, allocations: 5.094 kB / 0.954 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9, allocations: 1.125 kB / 0.954 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9001, allocations: 0 / 0.954 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.9019, allocations: 0.7774 MB / 0.9548 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9019, allocations: 2.812 kB / 0.9548 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.9021, allocations: 40.92 kB / 0.9548 GB, free: 16.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.9026, allocations: 73.06 kB / 0.9549 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.9026, allocations: 13.59 kB / 0.9549 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.9047, allocations: 1.749 MB / 0.9566 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9047, allocations: 0.8438 kB / 0.9566 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.9059, allocations: 445.9 kB / 0.957 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.9061, allocations: 125.1 kB / 0.9572 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.9061, allocations: 6 kB / 0.9572 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.9064, allocations: 29.33 kB / 0.9572 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.9065, allocations: 21.34 kB / 0.9572 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.9066, allocations: 5.125 kB / 0.9572 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002463/0.9068, allocations: 187.7 kB / 0.9574 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.122e-06/0.9068, allocations: 0 / 0.9574 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005802/0.9074, allocations: 92.41 kB / 0.9575 GB, free: 15.06 MB / 0.7481 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.0004692/0.9079, allocations: 144.4 kB / 0.9576 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.9091, allocations: 372.9 kB / 0.958 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9091, allocations: 0.5 kB / 0.958 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.9098, allocations: 262.9 kB / 0.9582 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.9106, allocations: 136 kB / 0.9584 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.9117, allocations: 0.6153 MB / 0.959 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.9121, allocations: 0.7691 MB / 0.9597 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.9122, allocations: 24.72 kB / 0.9597 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.9122, allocations: 0 / 0.9597 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.008036/0.9202, allocations: 5.38 MB / 0.965 GB, free: 13.18 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)