Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.73/1.73, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 179.3 kB / 393.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 98.8 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 12 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.614/0.6143, allocations: 121.3 MB / 1.041 GB, free: 58.47 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1913/0.8057, allocations: 172.5 MB / 1.209 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008279/0.814, allocations: 5.657 MB / 1.215 GB, free: 484 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007431/0.8148, allocations: 15.88 kB / 1.215 GB, free: 468 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007639/0.8156, allocations: 188.7 kB / 1.215 GB, free: 324 kB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.818, allocations: 0.7201 MB / 1.216 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.8224, allocations: 1.41 MB / 1.217 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002467/0.8249, allocations: 1.695 MB / 1.219 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.8256, allocations: 364.7 kB / 1.219 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.8268, allocations: 0.5302 MB / 1.22 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.8274, allocations: 405.8 kB / 1.22 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.8275, allocations: 28 kB / 1.22 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.8315, allocations: 1.779 MB / 1.222 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.8319, allocations: 170.3 kB / 1.222 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.8323, allocations: 307.8 kB / 1.222 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.8352, allocations: 1.386 MB / 1.224 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.8352, allocations: 4 kB / 1.224 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8352, allocations: 0 / 1.224 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8352, allocations: 0 / 1.224 GB, free: 9.254 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001796/0.837, allocations: 0.9241 MB / 1.225 GB, free: 8.27 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8371, allocations: 8.031 kB / 1.225 GB, free: 8.262 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.839, allocations: 286.9 kB / 1.225 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.8398, allocations: 449.5 kB / 1.225 GB, free: 7.496 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.8399, allocations: 36.94 kB / 1.225 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.84, allocations: 43.94 kB / 1.225 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.8411, allocations: 0.5585 MB / 1.226 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.8412, allocations: 0 / 1.226 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.8412, allocations: 23.94 kB / 1.226 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.8412, allocations: 12 kB / 1.226 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.8423, allocations: 487.5 kB / 1.226 GB, free: 6.312 MB / 0.7917 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.002787/0.8451, allocations: 2.127 MB / 1.228 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8462, allocations: 442.3 kB / 1.229 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.8468, allocations: 244.6 kB / 1.229 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.8475, allocations: 416.3 kB / 1.229 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006741/0.8482, allocations: 299.1 kB / 1.23 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 2.555e-06/0.8482, allocations: 0 / 1.23 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.001927/0.8501, allocations: 0.7318 MB / 1.23 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.8502, allocations: 63.33 kB / 1.231 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.8508, allocations: 486.1 kB / 1.231 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.8509, allocations: 37.69 kB / 1.231 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.8511, allocations: 272 kB / 1.231 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.8513, allocations: 122.2 kB / 1.231 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.8513, allocations: 8 kB / 1.231 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8515, allocations: 362.8 kB / 1.232 GB, free: 492 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.852, allocations: 216.8 kB / 1.232 GB, free: 272 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.8526, allocations: 324.1 kB / 1.232 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.8538, allocations: 0.5728 MB / 1.233 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.8538, allocations: 7.938 kB / 1.233 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001409/0.8552, allocations: 0.6679 MB / 1.234 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.813e-05/0.8553, allocations: 63.41 kB / 1.234 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.8553, allocations: 4.312 kB / 1.234 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.8553, allocations: 12 kB / 1.234 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.8558, allocations: 107.8 kB / 1.234 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.8559, allocations: 4 kB / 1.234 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/0.8566, allocations: 97.12 kB / 1.234 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.8567, allocations: 20 kB / 1.234 GB, free: 14.28 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002807/0.857, allocations: 199.8 kB / 1.234 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.8571, allocations: 55.34 kB / 1.234 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.8584, allocations: 0.5641 MB / 1.235 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8584, allocations: 4 kB / 1.235 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8584, allocations: 3.938 kB / 1.235 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.8584, allocations: 3.984 kB / 1.235 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.8608, allocations: 1.383 MB / 1.236 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.8609, allocations: 4.438 kB / 1.236 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.8613, allocations: 87.88 kB / 1.236 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.8613, allocations: 4 kB / 1.236 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.8614, allocations: 12 kB / 1.236 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.8614, allocations: 4 kB / 1.236 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.8614, allocations: 11.92 kB / 1.236 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.8631, allocations: 0.9841 MB / 1.237 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.8634, allocations: 168.3 kB / 1.237 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.8635, allocations: 19.98 kB / 1.237 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.8641, allocations: 51.92 kB / 1.237 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.8642, allocations: 55.88 kB / 1.237 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.8643, allocations: 15.94 kB / 1.237 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004548/0.8647, allocations: 342.8 kB / 1.238 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8647, allocations: 3.938 kB / 1.238 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006254/0.8654, allocations: 155.8 kB / 1.238 GB, free: 9.973 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004815/0.8658, allocations: 199.6 kB / 1.238 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.8672, allocations: 0.616 MB / 1.239 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8672, allocations: 0 / 1.239 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.8679, allocations: 300.8 kB / 1.239 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.8695, allocations: 274.7 kB / 1.239 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.8716, allocations: 1.258 MB / 1.24 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.8721, allocations: 0.8707 MB / 1.241 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000566/0.8727, allocations: 132.6 kB / 1.241 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.8728, allocations: 39.44 kB / 1.241 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.8728, allocations: 0 / 1.241 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of Templates: time 0.0195/0.8923, allocations: 10.14 MB / 1.251 GB, free: 12.19 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)