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: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001017/0.001017, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007468/0.007468, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002379/0.002379, allocations: 275.1 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9767/0.9767, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004327, allocations: 16.34 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2158, allocations: 88.55 MB / 0.6851 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5709/0.7868, allocations: 157.2 MB / 0.8386 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006018/0.7929, allocations: 3.476 MB / 0.842 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.7933, allocations: 9.125 kB / 0.842 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.7938, allocations: 99.45 kB / 0.8421 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.7952, allocations: 424.7 kB / 0.8425 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.797, allocations: 0.5466 MB / 0.843 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.798, allocations: 0.8136 MB / 0.8438 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.7984, allocations: 191.7 kB / 0.844 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.8002, allocations: 312.4 kB / 0.8443 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.8005, allocations: 197.8 kB / 0.8445 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.8006, allocations: 12.69 kB / 0.8445 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.8018, allocations: 0.6215 MB / 0.8451 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.8019, allocations: 88.83 kB / 0.8452 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.8021, allocations: 158.2 kB / 0.8454 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008755/0.803, allocations: 0.5598 MB / 0.8459 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.803, allocations: 4 kB / 0.8459 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.803, allocations: 2.688 kB / 0.8459 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.803, allocations: 0 / 0.8459 GB, free: 2.727 MB / 0.5606 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.00123/0.8043, allocations: 0.594 MB / 0.8465 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.8043, allocations: 13.06 kB / 0.8465 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006706/0.805, allocations: 75.06 kB / 0.8466 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.8055, allocations: 296.9 kB / 0.8469 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.8056, allocations: 20.62 kB / 0.8469 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.8056, allocations: 21.38 kB / 0.8469 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.8064, allocations: 323.9 kB / 0.8472 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8065, allocations: 0 / 0.8472 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.8065, allocations: 9.75 kB / 0.8472 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.8065, allocations: 6.219 kB / 0.8472 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.8074, allocations: 290.9 kB / 0.8475 GB, free: 1.512 MB / 0.5606 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.002088/0.8095, allocations: 1.251 MB / 0.8487 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.8101, allocations: 189.5 kB / 0.8489 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.8105, allocations: 148.6 kB / 0.849 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007425/0.8113, allocations: 310.2 kB / 0.8493 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.8113, allocations: 42.48 kB / 0.8494 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.8113, allocations: 0 / 0.8494 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002832/0.8142, allocations: 0.6231 MB / 0.85 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.8142, allocations: 54.09 kB / 0.85 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.8146, allocations: 264.2 kB / 0.8503 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.8146, allocations: 29.7 kB / 0.8503 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.8148, allocations: 158.4 kB / 0.8505 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.8149, allocations: 58.81 kB / 0.8505 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.8149, allocations: 20.64 kB / 0.8505 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8151, allocations: 336.1 kB / 0.8509 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.8155, allocations: 110 kB / 0.851 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.816, allocations: 158.7 kB / 0.8511 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.8168, allocations: 275.2 kB / 0.8514 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.8168, allocations: 0 / 0.8514 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001316/0.8181, allocations: 389.6 kB / 0.8518 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.8182, allocations: 2.938 kB / 0.8518 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8182, allocations: 2.844 kB / 0.8518 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/0.8188, allocations: 88.92 kB / 0.8518 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.8191, allocations: 54.86 kB / 0.8519 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.8213, allocations: 1.609 MB / 0.8535 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.8216, allocations: 48.44 kB / 0.8535 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.8217, allocations: 5.625 kB / 0.8535 GB, free: 12.54 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.0001727/0.8218, allocations: 149 kB / 0.8537 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.8219, allocations: 25.38 kB / 0.8537 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.8231, allocations: 400.4 kB / 0.8541 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8231, allocations: 0 / 0.8541 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.8231, allocations: 0 / 0.8541 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8231, allocations: 0 / 0.8541 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.8248, allocations: 0.8105 MB / 0.8549 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8248, allocations: 3.031 kB / 0.8549 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.825, allocations: 41.81 kB / 0.8549 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.8255, allocations: 91.97 kB / 0.855 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.8255, allocations: 6.562 kB / 0.855 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.8274, allocations: 1.632 MB / 0.8566 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8274, allocations: 0 / 0.8566 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.8285, allocations: 486.5 kB / 0.8571 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.8287, allocations: 122.7 kB / 0.8572 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.8287, allocations: 6.906 kB / 0.8572 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.829, allocations: 33.72 kB / 0.8572 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.8291, allocations: 21.95 kB / 0.8572 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.8291, allocations: 4.938 kB / 0.8572 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001779/0.8293, allocations: 189.1 kB / 0.8574 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8293, allocations: 0 / 0.8574 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004093/0.8297, allocations: 84.03 kB / 0.8575 GB, free: 9.316 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.0004038/0.8301, allocations: 164.6 kB / 0.8577 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.8311, allocations: 393.6 kB / 0.858 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8311, allocations: 4 kB / 0.858 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/0.8317, allocations: 277.8 kB / 0.8583 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.8325, allocations: 119.1 kB / 0.8584 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.8334, allocations: 0.6037 MB / 0.859 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.8337, allocations: 0.778 MB / 0.8598 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001937/0.8339, allocations: 53.81 kB / 0.8598 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.834, allocations: 24.53 kB / 0.8598 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.834, allocations: 0 / 0.8598 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.009835/0.8438, allocations: 5.516 MB / 0.8652 GB, free: 4.727 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)