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.006805/0.006805, allocations: 103 kB / 15.73 MB, free: 6.016 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.001244/0.001244, allocations: 193.9 kB / 16.67 MB, free: 5.938 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002226/0.002226, allocations: 283.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 103.8 kB / 0.6815 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.5493, allocations: 86.98 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1821/0.7314, allocations: 161.5 MB / 0.9241 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005189/0.7366, allocations: 3.489 MB / 0.9275 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.737, allocations: 7.938 kB / 0.9275 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.7375, allocations: 135 kB / 0.9276 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.7389, allocations: 449.9 kB / 0.9281 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.7406, allocations: 0.5988 MB / 0.9287 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.7414, allocations: 0.6244 MB / 0.9293 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.7418, allocations: 228.6 kB / 0.9295 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.7431, allocations: 353.3 kB / 0.9298 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.7434, allocations: 187.3 kB / 0.93 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.7435, allocations: 24 kB / 0.93 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.7445, allocations: 0.5495 MB / 0.9306 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.7446, allocations: 103.7 kB / 0.9307 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.7448, allocations: 155.2 kB / 0.9308 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008544/0.7457, allocations: 0.5557 MB / 0.9314 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7457, allocations: 0 / 0.9314 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7457, allocations: 0 / 0.9314 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.7457, allocations: 0 / 0.9314 GB, free: 10.38 MB / 0.7012 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.001095/0.7468, allocations: 0.635 MB / 0.932 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7468, allocations: 12.03 kB / 0.932 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.7474, allocations: 75.52 kB / 0.9321 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.7478, allocations: 317.2 kB / 0.9324 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.7478, allocations: 16.44 kB / 0.9324 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.7479, allocations: 16 kB / 0.9324 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.7485, allocations: 312.2 kB / 0.9327 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.7485, allocations: 4 kB / 0.9327 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.7486, allocations: 11.94 kB / 0.9327 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.7486, allocations: 11.94 kB / 0.9327 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.7492, allocations: 240.9 kB / 0.9329 GB, free: 8.645 MB / 0.7012 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.001707/0.751, allocations: 1.244 MB / 0.9342 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.7514, allocations: 178.5 kB / 0.9343 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.7517, allocations: 120.8 kB / 0.9344 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.7523, allocations: 303.2 kB / 0.9347 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.7524, allocations: 38.56 kB / 0.9348 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/0.7524, allocations: 0 / 0.9348 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.002194/0.7546, allocations: 0.5731 MB / 0.9353 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.7546, allocations: 51.41 kB / 0.9354 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.7549, allocations: 263 kB / 0.9356 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.7549, allocations: 25.7 kB / 0.9357 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.7551, allocations: 176 kB / 0.9358 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.7552, allocations: 51.3 kB / 0.9359 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.7552, allocations: 29.72 kB / 0.9359 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7554, allocations: 338.8 kB / 0.9362 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.7557, allocations: 91.91 kB / 0.9363 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.756, allocations: 144 kB / 0.9364 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/0.7566, allocations: 241.7 kB / 0.9367 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7566, allocations: 0 / 0.9367 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001116/0.7577, allocations: 341.9 kB / 0.937 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.7578, allocations: 8 kB / 0.937 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7578, allocations: 4.125 kB / 0.937 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/0.7584, allocations: 88.75 kB / 0.9371 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.7586, allocations: 43.97 kB / 0.9371 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.7609, allocations: 1.727 MB / 0.9388 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.7611, allocations: 35.81 kB / 0.9389 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.7612, allocations: 8 kB / 0.9389 GB, free: 2.129 MB / 0.7012 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.0001625/0.7613, allocations: 143.9 kB / 0.939 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.7614, allocations: 31.62 kB / 0.939 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.7625, allocations: 363.9 kB / 0.9394 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7625, allocations: 4 kB / 0.9394 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.7626, allocations: 0 / 0.9394 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7626, allocations: 0 / 0.9394 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.7642, allocations: 0.7862 MB / 0.9402 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.7642, allocations: 0 / 0.9402 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.7644, allocations: 35.95 kB / 0.9402 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004301/0.7649, allocations: 76.88 kB / 0.9403 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7649, allocations: 3.938 kB / 0.9403 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.7668, allocations: 1.739 MB / 0.942 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7668, allocations: 8.031 kB / 0.942 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.7679, allocations: 458.3 kB / 0.9424 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.7681, allocations: 112.8 kB / 0.9425 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.7681, allocations: 11.98 kB / 0.9425 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.7684, allocations: 27.91 kB / 0.9426 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.7685, allocations: 15.98 kB / 0.9426 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.7685, allocations: 4 kB / 0.9426 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001566/0.7687, allocations: 186 kB / 0.9428 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7687, allocations: 0 / 0.9428 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004331/0.7691, allocations: 91.83 kB / 0.9428 GB, free: 13.79 MB / 0.7169 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.0004202/0.7695, allocations: 158.2 kB / 0.943 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.7706, allocations: 366.6 kB / 0.9433 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7706, allocations: 4 kB / 0.9433 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.7711, allocations: 254.6 kB / 0.9436 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.7719, allocations: 135.5 kB / 0.9437 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.7728, allocations: 0.4937 MB / 0.9442 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.7731, allocations: 0.7753 MB / 0.945 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.7733, allocations: 50.25 kB / 0.945 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.7734, allocations: 23.44 kB / 0.945 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7734, allocations: 0 / 0.945 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of Templates: time 0.01209/0.7855, allocations: 6.107 MB / 0.951 GB, free: 5.438 MB / 0.7169 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)