Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 182.4 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007393/0.0007393, allocations: 89.42 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003151, allocations: 9.062 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1674, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1428/0.3103, allocations: 157.3 MB / 1.055 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4051/0.7154, allocations: 3.505 MB / 1.058 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.7158, allocations: 10.72 kB / 1.058 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.7162, allocations: 103.6 kB / 1.059 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.7172, allocations: 421.8 kB / 1.059 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.7187, allocations: 0.5411 MB / 1.06 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.7194, allocations: 0.8068 MB / 1.06 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.7197, allocations: 195.3 kB / 1.06 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.7212, allocations: 312.4 kB / 1.061 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.7215, allocations: 193.1 kB / 1.061 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.7215, allocations: 11.31 kB / 1.061 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.7227, allocations: 0.6264 MB / 1.062 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.7229, allocations: 82.47 kB / 1.062 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.723, allocations: 157.3 kB / 1.062 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.7236, allocations: 381.7 kB / 1.062 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7236, allocations: 0 / 1.062 GB, free: 1.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7237, allocations: 2.906 kB / 1.062 GB, free: 1.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.7237, allocations: 0 / 1.062 GB, free: 1.906 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.001133/0.7248, allocations: 0.5969 MB / 1.063 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7249, allocations: 12.12 kB / 1.063 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.7254, allocations: 76.81 kB / 1.063 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.7258, allocations: 292.5 kB / 1.063 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.7258, allocations: 16.31 kB / 1.063 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.7258, allocations: 16.25 kB / 1.063 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.7265, allocations: 334.6 kB / 1.063 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7265, allocations: 4 kB / 1.063 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.7265, allocations: 11.78 kB / 1.064 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.7266, allocations: 5.719 kB / 1.064 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000647/0.7272, allocations: 281.2 kB / 1.064 GB, free: 17.11 MB / 0.7136 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.001657/0.7289, allocations: 1.268 MB / 1.065 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.7293, allocations: 189.1 kB / 1.065 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.7296, allocations: 135.8 kB / 1.065 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.7302, allocations: 316.7 kB / 1.066 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.7303, allocations: 41.66 kB / 1.066 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.7303, allocations: 0 / 1.066 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.002262/0.7326, allocations: 0.6222 MB / 1.066 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.7326, allocations: 56.88 kB / 1.066 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.7329, allocations: 257.2 kB / 1.067 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.7329, allocations: 25.7 kB / 1.067 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.733, allocations: 171.2 kB / 1.067 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.7331, allocations: 48.31 kB / 1.067 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.7331, allocations: 0 / 1.067 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7332, allocations: 335.1 kB / 1.067 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.7335, allocations: 111.9 kB / 1.067 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.7338, allocations: 156.2 kB / 1.067 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.7344, allocations: 275.5 kB / 1.068 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7345, allocations: 3.938 kB / 1.068 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001147/0.7356, allocations: 385.5 kB / 1.068 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7357, allocations: 5.688 kB / 1.068 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7357, allocations: 0.8438 kB / 1.068 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/0.7363, allocations: 92.98 kB / 1.068 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.7366, allocations: 48.94 kB / 1.068 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.739, allocations: 1.611 MB / 1.07 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.7393, allocations: 41.8 kB / 1.07 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.7393, allocations: 9.578 kB / 1.07 GB, free: 13.57 MB / 0.7136 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.0001955/0.7395, allocations: 147 kB / 1.07 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.7396, allocations: 23.75 kB / 1.07 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.7409, allocations: 408.5 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.7409, allocations: 1.062 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.741, allocations: 1.125 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.741, allocations: 0.7969 kB / 1.07 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.7429, allocations: 0.809 MB / 1.071 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7429, allocations: 1.438 kB / 1.071 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.7431, allocations: 40.44 kB / 1.071 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.7436, allocations: 98.78 kB / 1.071 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.7437, allocations: 2.297 kB / 1.071 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.7457, allocations: 1.628 MB / 1.073 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7457, allocations: 2 kB / 1.073 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.747, allocations: 495.3 kB / 1.073 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.7472, allocations: 117.5 kB / 1.073 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.7472, allocations: 4.266 kB / 1.073 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.7475, allocations: 34.33 kB / 1.073 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.7476, allocations: 31.88 kB / 1.074 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.7476, allocations: 5.531 kB / 1.074 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002027/0.7478, allocations: 183.1 kB / 1.074 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7478, allocations: 0.9375 kB / 1.074 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004813/0.7483, allocations: 85.03 kB / 1.074 GB, free: 11.32 MB / 0.7136 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.0004199/0.7487, allocations: 150.8 kB / 1.074 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.7498, allocations: 401.1 kB / 1.074 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7498, allocations: 0 / 1.074 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.7505, allocations: 272.4 kB / 1.075 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.7512, allocations: 121.2 kB / 1.075 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.7522, allocations: 0.6329 MB / 1.075 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.7526, allocations: 0.769 MB / 1.076 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.7527, allocations: 20.34 kB / 1.076 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/0.7527, allocations: 1 kB / 1.076 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of Templates: time 0.00821/0.7609, allocations: 5.343 MB / 1.081 GB, free: 9.504 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)