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.00124/0.00124, allocations: 106.8 kB / 16.4 MB, free: 6.465 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.001361/0.001361, allocations: 193.3 kB / 17.34 MB, free: 5.723 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.64 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 76.19 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4698/0.597, allocations: 161.5 MB / 0.7898 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004042/0.6011, allocations: 3.495 MB / 0.7932 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.6014, allocations: 10.91 kB / 0.7932 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.6019, allocations: 133.6 kB / 0.7933 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.6031, allocations: 457 kB / 0.7938 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.6046, allocations: 0.5956 MB / 0.7943 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.6052, allocations: 0.6333 MB / 0.795 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.6055, allocations: 222.3 kB / 0.7952 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.6066, allocations: 347.9 kB / 0.7955 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.6069, allocations: 196.2 kB / 0.7957 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.6069, allocations: 22.44 kB / 0.7957 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.6077, allocations: 0.55 MB / 0.7962 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.6079, allocations: 95.28 kB / 0.7963 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.608, allocations: 143 kB / 0.7965 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.6087, allocations: 0.5571 MB / 0.797 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6087, allocations: 0 / 0.797 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6087, allocations: 0 / 0.797 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6087, allocations: 0 / 0.797 GB, free: 13.06 MB / 0.5919 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.0009245/0.6096, allocations: 0.6365 MB / 0.7976 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.6097, allocations: 7.812 kB / 0.7976 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.6101, allocations: 78.5 kB / 0.7977 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.6105, allocations: 308.9 kB / 0.798 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.6105, allocations: 15.31 kB / 0.798 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.6106, allocations: 18.23 kB / 0.798 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.6111, allocations: 315.7 kB / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6112, allocations: 0 / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.6112, allocations: 11.81 kB / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.6112, allocations: 5.25 kB / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.6118, allocations: 254.1 kB / 0.7986 GB, free: 12.23 MB / 0.5919 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.001364/0.6132, allocations: 1.24 MB / 0.7998 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.6136, allocations: 174.4 kB / 0.8 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.6138, allocations: 127.6 kB / 0.8001 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.6144, allocations: 304.5 kB / 0.8004 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.6144, allocations: 33.34 kB / 0.8004 GB, free: 11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.6144, allocations: 0 / 0.8004 GB, free: 11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002022/0.6164, allocations: 0.5743 MB / 0.801 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.6165, allocations: 57.92 kB / 0.801 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.6167, allocations: 258.4 kB / 0.8013 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6167, allocations: 28.52 kB / 0.8013 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.6168, allocations: 172 kB / 0.8015 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.6169, allocations: 50.77 kB / 0.8015 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.6169, allocations: 36.73 kB / 0.8016 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6171, allocations: 332.9 kB / 0.8019 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.6173, allocations: 96.92 kB / 0.802 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.6176, allocations: 136.1 kB / 0.8021 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.6181, allocations: 237.6 kB / 0.8023 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6182, allocations: 4 kB / 0.8023 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001036/0.6192, allocations: 354.8 kB / 0.8027 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6192, allocations: 4.812 kB / 0.8027 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6192, allocations: 0 / 0.8027 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.6198, allocations: 93.97 kB / 0.8028 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.62, allocations: 41.48 kB / 0.8028 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.6219, allocations: 1.722 MB / 0.8045 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.6221, allocations: 35.11 kB / 0.8045 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.6222, allocations: 8.906 kB / 0.8045 GB, free: 8.562 MB / 0.5919 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.000127/0.6223, allocations: 144.7 kB / 0.8047 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.6224, allocations: 26.81 kB / 0.8047 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.6234, allocations: 378.7 kB / 0.8051 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6235, allocations: 3.188 kB / 0.8051 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.6235, allocations: 4 kB / 0.8051 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6235, allocations: 0 / 0.8051 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.625, allocations: 0.7715 MB / 0.8058 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.625, allocations: 2.438 kB / 0.8058 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.6252, allocations: 37.28 kB / 0.8059 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004096/0.6256, allocations: 71.38 kB / 0.8059 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.6256, allocations: 11.05 kB / 0.8059 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.6274, allocations: 1.746 MB / 0.8076 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6274, allocations: 2.438 kB / 0.8076 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.6285, allocations: 452.2 kB / 0.8081 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6286, allocations: 123.3 kB / 0.8082 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.6287, allocations: 5.688 kB / 0.8082 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.6289, allocations: 24.72 kB / 0.8082 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.629, allocations: 22.27 kB / 0.8082 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.6291, allocations: 16.89 kB / 0.8083 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001507/0.6292, allocations: 185 kB / 0.8084 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.92e-07/0.6292, allocations: 0 / 0.8084 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004024/0.6296, allocations: 85.02 kB / 0.8085 GB, free: 5.797 MB / 0.5919 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.0003569/0.63, allocations: 155.5 kB / 0.8087 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009461/0.6309, allocations: 361.7 kB / 0.809 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.631, allocations: 0 / 0.809 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.6315, allocations: 260.3 kB / 0.8093 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.6322, allocations: 125.4 kB / 0.8094 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.6331, allocations: 0.5042 MB / 0.8099 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.6334, allocations: 0.7714 MB / 0.8106 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000177/0.6336, allocations: 49.55 kB / 0.8107 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.6337, allocations: 23.59 kB / 0.8107 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6337, allocations: 1.812 kB / 0.8107 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of Templates: time 0.01018/0.6439, allocations: 5.978 MB / 0.8165 GB, free: 1.277 MB / 0.5919 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)