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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7637/0.7637, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 181.3 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009802/0.0009801, allocations: 98.81 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001865, allocations: 283.8 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.268e-05, allocations: 8 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.445, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.559/5.004, allocations: 1.83 GB / 2.594 GB, free: 176.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/5.004, allocations: 94.88 kB / 2.594 GB, free: 176.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7967/5.801, allocations: 199.7 MB / 2.789 GB, free: 204.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/5.801, allocations: 0 / 2.789 GB, free: 204.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.658e-05/5.801, allocations: 15.66 kB / 2.789 GB, free: 204.3 MB / 0.698 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.001187/5.802, allocations: 0.6341 MB / 2.79 GB, free: 203.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/5.802, allocations: 11.47 kB / 2.79 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005848/5.803, allocations: 78.77 kB / 2.79 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/5.803, allocations: 293.8 kB / 2.79 GB, free: 203.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/5.803, allocations: 18.03 kB / 2.79 GB, free: 203.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/5.803, allocations: 19.7 kB / 2.79 GB, free: 203.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/5.804, allocations: 272.1 kB / 2.791 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/5.804, allocations: 0 / 2.791 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/5.804, allocations: 10.81 kB / 2.791 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/5.804, allocations: 6.438 kB / 2.791 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/5.804, allocations: 168.5 kB / 2.791 GB, free: 203.6 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001358/5.805, allocations: 1.251 MB / 2.792 GB, free: 202.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/5.806, allocations: 132.9 kB / 2.792 GB, free: 202.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/5.806, allocations: 81.75 kB / 2.792 GB, free: 202.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004698/5.806, allocations: 308 kB / 2.792 GB, free: 202.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/5.806, allocations: 35.77 kB / 2.793 GB, free: 202.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/5.806, allocations: 3.125 kB / 2.793 GB, free: 202.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001089/5.807, allocations: 269 kB / 2.793 GB, free: 202.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/5.807, allocations: 56 kB / 2.793 GB, free: 202.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/5.808, allocations: 219 kB / 2.793 GB, free: 202.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/5.808, allocations: 34.62 kB / 2.793 GB, free: 202.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/5.808, allocations: 162.8 kB / 2.793 GB, free: 202.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/5.808, allocations: 48.31 kB / 2.793 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/5.808, allocations: 4.094 kB / 2.793 GB, free: 202.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00016/5.808, allocations: 334.7 kB / 2.794 GB, free: 201.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/5.809, allocations: 58.67 kB / 2.794 GB, free: 201.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/5.809, allocations: 122.9 kB / 2.794 GB, free: 201.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/5.809, allocations: 74.89 kB / 2.794 GB, free: 201.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/5.809, allocations: 0 / 2.794 GB, free: 201.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001142/5.81, allocations: 277.1 kB / 2.794 GB, free: 201.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/5.81, allocations: 8.312 kB / 2.794 GB, free: 201.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/5.81, allocations: 3.812 kB / 2.794 GB, free: 201.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007631/5.811, allocations: 85 kB / 2.794 GB, free: 201.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/5.811, allocations: 53.69 kB / 2.794 GB, free: 201.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/5.813, allocations: 1.568 MB / 2.796 GB, free: 200.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/5.814, allocations: 47.55 kB / 2.796 GB, free: 200.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/5.814, allocations: 6.594 kB / 2.796 GB, free: 200.3 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001014/5.814, allocations: 117.8 kB / 2.796 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/5.814, allocations: 23.12 kB / 2.796 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/5.815, allocations: 302.5 kB / 2.796 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/5.815, allocations: 5.547 kB / 2.796 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/5.815, allocations: 0.5938 kB / 2.796 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/5.815, allocations: 0.5938 kB / 2.796 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/5.816, allocations: 0.7035 MB / 2.797 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/5.816, allocations: 1.219 kB / 2.797 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/5.817, allocations: 45 kB / 2.797 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/5.817, allocations: 86.02 kB / 2.797 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/5.817, allocations: 8.281 kB / 2.797 GB, free: 199.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/5.819, allocations: 1.592 MB / 2.799 GB, free: 198.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/5.819, allocations: 0 / 2.799 GB, free: 198.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/5.819, allocations: 410.9 kB / 2.799 GB, free: 198.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/5.819, allocations: 123.5 kB / 2.799 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/5.819, allocations: 6.969 kB / 2.799 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/5.82, allocations: 39.16 kB / 2.799 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/5.82, allocations: 23.73 kB / 2.799 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/5.82, allocations: 7.094 kB / 2.799 GB, free: 198.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001437/5.82, allocations: 183.9 kB / 2.799 GB, free: 198.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.82, allocations: 0 / 2.799 GB, free: 198.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006931/5.821, allocations: 153.4 kB / 2.8 GB, free: 198.1 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/5.822, allocations: 0.9412 MB / 2.8 GB, free: 197.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005841/5.822, allocations: 286 kB / 2.801 GB, free: 197.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.822, allocations: 0 / 2.801 GB, free: 197.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/5.823, allocations: 225.6 kB / 2.801 GB, free: 197.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/5.823, allocations: 113.8 kB / 2.801 GB, free: 197.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/5.824, allocations: 347.2 kB / 2.801 GB, free: 197.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/5.824, allocations: 0.7739 MB / 2.802 GB, free: 196.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001942/5.824, allocations: 58.66 kB / 2.802 GB, free: 196.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/5.825, allocations: 18.91 kB / 2.802 GB, free: 196.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/5.825, allocations: 2.875 kB / 2.802 GB, free: 196.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02384/5.848, allocations: 19.32 MB / 2.821 GB, free: 196.2 MB / 0.698 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)