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.001094/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001069/0.001069, allocations: 194 kB / 16.25 MB, free: 6.617 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 282.7 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.951/0.951, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 95.86 kB / 0.5947 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1928, allocations: 86.98 MB / 0.6796 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6065/0.7994, allocations: 159.3 MB / 0.8352 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004972/0.8044, allocations: 3.468 MB / 0.8385 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.8049, allocations: 13.66 kB / 0.8386 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.8055, allocations: 113.7 kB / 0.8387 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.807, allocations: 428.9 kB / 0.8391 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.8089, allocations: 0.5423 MB / 0.8396 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.8097, allocations: 0.6279 MB / 0.8402 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.8101, allocations: 228.8 kB / 0.8404 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.8116, allocations: 333.5 kB / 0.8408 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.8119, allocations: 206.8 kB / 0.8409 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.812, allocations: 25.94 kB / 0.841 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.8132, allocations: 0.5585 MB / 0.8415 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.8133, allocations: 103.8 kB / 0.8416 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.8135, allocations: 140.2 kB / 0.8418 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009148/0.8144, allocations: 0.5924 MB / 0.8423 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8144, allocations: 0 / 0.8423 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8144, allocations: 1.375 kB / 0.8423 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.8145, allocations: 0 / 0.8423 GB, free: 14.9 MB / 0.5762 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.001143/0.8156, allocations: 0.6366 MB / 0.843 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8157, allocations: 9.438 kB / 0.843 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005463/0.8162, allocations: 73.16 kB / 0.843 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.8166, allocations: 298.2 kB / 0.8433 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.8166, allocations: 16.22 kB / 0.8433 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.8167, allocations: 22.91 kB / 0.8434 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.8173, allocations: 313.2 kB / 0.8437 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8174, allocations: 0 / 0.8437 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.8174, allocations: 10.16 kB / 0.8437 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.8174, allocations: 8.25 kB / 0.8437 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.8181, allocations: 248.2 kB / 0.8439 GB, free: 14.05 MB / 0.5762 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.001563/0.8196, allocations: 1.246 MB / 0.8451 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.8201, allocations: 176.5 kB / 0.8453 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.8204, allocations: 126.7 kB / 0.8454 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/0.821, allocations: 303.6 kB / 0.8457 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.821, allocations: 32.31 kB / 0.8457 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.821, allocations: 0 / 0.8457 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002216/0.8233, allocations: 0.5768 MB / 0.8463 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.8233, allocations: 54.53 kB / 0.8463 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.8236, allocations: 263.4 kB / 0.8466 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.8236, allocations: 31.8 kB / 0.8466 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.8237, allocations: 164.6 kB / 0.8468 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.8238, allocations: 49.02 kB / 0.8468 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.8239, allocations: 38.61 kB / 0.8469 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.824, allocations: 331.6 kB / 0.8472 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.8243, allocations: 95.61 kB / 0.8473 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.8246, allocations: 142 kB / 0.8474 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.8252, allocations: 237.6 kB / 0.8476 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8252, allocations: 0 / 0.8476 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001124/0.8263, allocations: 358.8 kB / 0.848 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.8263, allocations: 4.938 kB / 0.848 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8264, allocations: 6.75 kB / 0.848 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.827, allocations: 93.91 kB / 0.8481 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.8272, allocations: 36.38 kB / 0.8481 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.8295, allocations: 1.731 MB / 0.8498 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.8298, allocations: 39.59 kB / 0.8498 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.8299, allocations: 5.625 kB / 0.8499 GB, free: 9.051 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.0002044/0.8301, allocations: 145.1 kB / 0.85 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.8302, allocations: 22.38 kB / 0.85 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.8313, allocations: 372.8 kB / 0.8504 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8313, allocations: 0 / 0.8504 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.8313, allocations: 2.5 kB / 0.8504 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.8313, allocations: 0 / 0.8504 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.8331, allocations: 0.7708 MB / 0.8511 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8331, allocations: 8.031 kB / 0.8511 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.8333, allocations: 39.56 kB / 0.8512 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.8338, allocations: 93.25 kB / 0.8513 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.8338, allocations: 3.938 kB / 0.8513 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.8359, allocations: 1.746 MB / 0.853 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8359, allocations: 0 / 0.853 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.8371, allocations: 446.2 kB / 0.8534 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.8373, allocations: 128.3 kB / 0.8535 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.8373, allocations: 4 kB / 0.8535 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.8376, allocations: 30.86 kB / 0.8535 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.8377, allocations: 23.14 kB / 0.8536 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.8377, allocations: 9.156 kB / 0.8536 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000199/0.8379, allocations: 185.6 kB / 0.8538 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.838, allocations: 4 kB / 0.8538 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000506/0.8385, allocations: 87.2 kB / 0.8538 GB, free: 5.723 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.0004712/0.8389, allocations: 156.9 kB / 0.854 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.84, allocations: 367.3 kB / 0.8543 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.84, allocations: 0 / 0.8543 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005859/0.8406, allocations: 262.2 kB / 0.8546 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.8414, allocations: 124.8 kB / 0.8547 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.8426, allocations: 0.5853 MB / 0.8553 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.843, allocations: 0.7718 MB / 0.856 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.8433, allocations: 64.52 kB / 0.8561 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.8434, allocations: 24.09 kB / 0.8561 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.8434, allocations: 0 / 0.8561 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.01222/0.8556, allocations: 5.769 MB / 0.8618 GB, free: 1.055 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)