Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009202/0.0009201, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 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: 179.4 kB / 16.92 MB, free: 6.766 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7049/0.7049, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004501, allocations: 12 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 77.54 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5178/0.678, allocations: 157.2 MB / 0.7134 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005711/0.6838, allocations: 3.471 MB / 0.7168 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.6843, allocations: 7.938 kB / 0.7168 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.6848, allocations: 107.3 kB / 0.7169 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.6864, allocations: 430.2 kB / 0.7173 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.6881, allocations: 0.5381 MB / 0.7179 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.6895, allocations: 0.8155 MB / 0.7187 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.6901, allocations: 192.6 kB / 0.7188 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.6924, allocations: 298.2 kB / 0.7191 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.6931, allocations: 203.2 kB / 0.7193 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.6931, allocations: 8 kB / 0.7193 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.6945, allocations: 0.6312 MB / 0.72 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.6947, allocations: 83.7 kB / 0.72 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.6949, allocations: 156.9 kB / 0.7202 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.696, allocations: 0.5686 MB / 0.7207 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.696, allocations: 0 / 0.7207 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.696, allocations: 0 / 0.7207 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.696, allocations: 0 / 0.7207 GB, free: 2.172 MB / 0.5294 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.001257/0.6973, allocations: 0.5968 MB / 0.7213 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.6973, allocations: 12.03 kB / 0.7213 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000679/0.698, allocations: 75.5 kB / 0.7214 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.6985, allocations: 297.2 kB / 0.7217 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.6985, allocations: 12.44 kB / 0.7217 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.6986, allocations: 23.94 kB / 0.7217 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.6993, allocations: 324.2 kB / 0.722 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6994, allocations: 8 kB / 0.722 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.6994, allocations: 8 kB / 0.722 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.6994, allocations: 8 kB / 0.7221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007005/0.7001, allocations: 276.8 kB / 0.7223 GB, free: 452 kB / 0.5294 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.001695/0.7018, allocations: 1.26 MB / 0.7235 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.7023, allocations: 194.5 kB / 0.7237 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.7027, allocations: 140.7 kB / 0.7239 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/0.7033, allocations: 315.2 kB / 0.7242 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.7033, allocations: 38.56 kB / 0.7242 GB, free: 14.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.7033, allocations: 0 / 0.7242 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0024/0.7057, allocations: 0.6239 MB / 0.7248 GB, free: 13.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.7058, allocations: 55.41 kB / 0.7249 GB, free: 13.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.7061, allocations: 259 kB / 0.7251 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.7061, allocations: 29.7 kB / 0.7251 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.7063, allocations: 172 kB / 0.7253 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.7063, allocations: 47.3 kB / 0.7254 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.7064, allocations: 17.72 kB / 0.7254 GB, free: 13.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7065, allocations: 338.8 kB / 0.7257 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.7068, allocations: 111.9 kB / 0.7258 GB, free: 12.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.7072, allocations: 148.2 kB / 0.7259 GB, free: 12.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.7079, allocations: 279.2 kB / 0.7262 GB, free: 12.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7079, allocations: 0 / 0.7262 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001228/0.7091, allocations: 389.8 kB / 0.7266 GB, free: 11.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7091, allocations: 6.344 kB / 0.7266 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7091, allocations: 3.938 kB / 0.7266 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/0.7098, allocations: 96.88 kB / 0.7267 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.71, allocations: 47.97 kB / 0.7267 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.7123, allocations: 1.605 MB / 0.7283 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.7126, allocations: 47.88 kB / 0.7283 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.7126, allocations: 8 kB / 0.7283 GB, free: 9.832 MB / 0.545 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.0001791/0.7128, allocations: 145.8 kB / 0.7285 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.7129, allocations: 23.72 kB / 0.7285 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.7142, allocations: 401.9 kB / 0.7289 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7142, allocations: 4 kB / 0.7289 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.7142, allocations: 0 / 0.7289 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7142, allocations: 0 / 0.7289 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.716, allocations: 0.8021 MB / 0.7297 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.716, allocations: 7.969 kB / 0.7297 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.7162, allocations: 43.91 kB / 0.7297 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.7168, allocations: 96.69 kB / 0.7298 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.7168, allocations: 12 kB / 0.7298 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.7188, allocations: 1.625 MB / 0.7314 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7188, allocations: 4.031 kB / 0.7314 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.72, allocations: 478.4 kB / 0.7319 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.7202, allocations: 128.7 kB / 0.732 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.7202, allocations: 4 kB / 0.732 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.7205, allocations: 35.88 kB / 0.732 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.7206, allocations: 23.91 kB / 0.7321 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.7206, allocations: 12 kB / 0.7321 GB, free: 5.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001842/0.7208, allocations: 186 kB / 0.7322 GB, free: 5.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7208, allocations: 0 / 0.7322 GB, free: 5.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004539/0.7213, allocations: 83.83 kB / 0.7323 GB, free: 5.477 MB / 0.545 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.0004117/0.7217, allocations: 151.2 kB / 0.7325 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.7228, allocations: 401.5 kB / 0.7329 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7228, allocations: 0 / 0.7329 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.7235, allocations: 274.7 kB / 0.7331 GB, free: 4.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.7243, allocations: 131.9 kB / 0.7332 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.7253, allocations: 0.5946 MB / 0.7338 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.7256, allocations: 0.7791 MB / 0.7346 GB, free: 3.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.7259, allocations: 58.31 kB / 0.7346 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.7259, allocations: 19.44 kB / 0.7347 GB, free: 3.02 MB / 0.545 GB Notification: Performance of SimCode: time 1.784e-06/0.7259, allocations: 0 / 0.7347 GB, free: 3.02 MB / 0.545 GB Notification: Performance of Templates: time 0.01085/0.7368, allocations: 5.503 MB / 0.74 GB, free: 13.59 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)