Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.797/0.797, allocations: 143.8 MB / 159.1 MB, free: 6.52 MB / 122.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.001199/0.0012, allocations: 175.3 kB / 192 MB, free: 6.73 MB / 154.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.524/1.524, allocations: 225.7 MB / 450.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 111.5 kB / 0.5211 GB, free: 1.656 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 280.2 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.000421, allocations: 20.22 kB / 0.6948 GB, free: 59.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1656, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5262/0.6919, allocations: 172.5 MB / 0.9438 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006585/0.6986, allocations: 5.653 MB / 0.9493 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007123/0.6993, allocations: 16.62 kB / 0.9493 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.7, allocations: 188.5 kB / 0.9495 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.7023, allocations: 0.7118 MB / 0.9502 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.7068, allocations: 1.401 MB / 0.9516 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.709, allocations: 1.687 MB / 0.9532 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008572/0.7099, allocations: 370.7 kB / 0.9536 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.7114, allocations: 0.5326 MB / 0.9541 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.7124, allocations: 413.2 kB / 0.9545 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.7125, allocations: 24.69 kB / 0.9545 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.7164, allocations: 1.778 MB / 0.9562 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.7168, allocations: 160.8 kB / 0.9564 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007246/0.7175, allocations: 314.3 kB / 0.9567 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.7207, allocations: 1.382 MB / 0.958 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.7207, allocations: 0 / 0.958 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7207, allocations: 2.906 kB / 0.958 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.85e-05/0.7208, allocations: 0 / 0.958 GB, free: 1.387 MB / 0.5573 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.002329/0.7231, allocations: 0.9318 MB / 0.9589 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7232, allocations: 14.84 kB / 0.959 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.7252, allocations: 291 kB / 0.9592 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009359/0.7262, allocations: 441.4 kB / 0.9597 GB, free: 216 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.7262, allocations: 31.62 kB / 0.9597 GB, free: 216 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.7263, allocations: 44.16 kB / 0.9597 GB, free: 216 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.7275, allocations: 0.5639 MB / 0.9603 GB, free: 15.97 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.7276, allocations: 6.766 kB / 0.9603 GB, free: 15.97 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.7276, allocations: 15.75 kB / 0.9603 GB, free: 15.97 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.7276, allocations: 14.88 kB / 0.9603 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.7287, allocations: 485.4 kB / 0.9608 GB, free: 15.87 MB / 0.573 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.002884/0.7316, allocations: 2.129 MB / 0.9629 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.7326, allocations: 433.5 kB / 0.9633 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.7331, allocations: 251.3 kB / 0.9635 GB, free: 14.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/0.7338, allocations: 407.1 kB / 0.9639 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000613/0.7344, allocations: 312.2 kB / 0.9642 GB, free: 13.61 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/0.7344, allocations: 1.75 kB / 0.9642 GB, free: 13.61 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.001753/0.7362, allocations: 0.7335 MB / 0.9649 GB, free: 13.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.7363, allocations: 61.09 kB / 0.965 GB, free: 13.34 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.7369, allocations: 495.9 kB / 0.9654 GB, free: 13.14 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.7369, allocations: 34.48 kB / 0.9655 GB, free: 13.11 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.7371, allocations: 261.4 kB / 0.9657 GB, free: 12.97 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.7373, allocations: 125.1 kB / 0.9658 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.7373, allocations: 11.38 kB / 0.9659 GB, free: 12.88 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7375, allocations: 358.6 kB / 0.9662 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.7379, allocations: 215.9 kB / 0.9664 GB, free: 12.51 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.7385, allocations: 328.5 kB / 0.9667 GB, free: 12.35 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.7395, allocations: 0.5702 MB / 0.9673 GB, free: 12.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7395, allocations: 3.188 kB / 0.9673 GB, free: 12.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001237/0.7408, allocations: 0.6768 MB / 0.9679 GB, free: 11.85 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.7408, allocations: 63.41 kB / 0.968 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7408, allocations: 2.688 kB / 0.968 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.7409, allocations: 11.59 kB / 0.968 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.7413, allocations: 97.89 kB / 0.9681 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.7413, allocations: 13.05 kB / 0.9681 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.742, allocations: 87.86 kB / 0.9682 GB, free: 11.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.742, allocations: 27.2 kB / 0.9682 GB, free: 11.71 MB / 0.573 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.0002431/0.7423, allocations: 187.5 kB / 0.9684 GB, free: 11.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.7424, allocations: 63.27 kB / 0.9685 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.7436, allocations: 0.5572 MB / 0.969 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7436, allocations: 6.891 kB / 0.969 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7436, allocations: 0 / 0.969 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7437, allocations: 0 / 0.969 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.7459, allocations: 1.384 MB / 0.9704 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.746, allocations: 14.88 kB / 0.9704 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.7464, allocations: 83 kB / 0.9705 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.7464, allocations: 5.75 kB / 0.9705 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.7464, allocations: 12.88 kB / 0.9705 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.7464, allocations: 17.12 kB / 0.9705 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7464, allocations: 4.594 kB / 0.9705 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.748, allocations: 0.979 MB / 0.9715 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.7483, allocations: 178.6 kB / 0.9716 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.7484, allocations: 19.12 kB / 0.9716 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.7489, allocations: 46.27 kB / 0.9717 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.749, allocations: 54.62 kB / 0.9717 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.7491, allocations: 17.12 kB / 0.9718 GB, free: 10.01 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003815/0.7495, allocations: 337 kB / 0.9721 GB, free: 9.879 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7495, allocations: 0 / 0.9721 GB, free: 9.879 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005777/0.7501, allocations: 154.6 kB / 0.9722 GB, free: 9.867 MB / 0.573 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.0004705/0.7505, allocations: 214.1 kB / 0.9724 GB, free: 9.734 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.7518, allocations: 0.6083 MB / 0.973 GB, free: 9.496 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.7518, allocations: 4.5 kB / 0.973 GB, free: 9.496 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.7524, allocations: 310 kB / 0.9733 GB, free: 9.43 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.754, allocations: 284.6 kB / 0.9736 GB, free: 9.332 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.7559, allocations: 1.255 MB / 0.9748 GB, free: 8.461 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.7564, allocations: 0.8621 MB / 0.9757 GB, free: 7.688 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000539/0.7569, allocations: 128.8 kB / 0.9758 GB, free: 7.625 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.7571, allocations: 43.14 kB / 0.9758 GB, free: 7.621 MB / 0.573 GB Notification: Performance of SimCode: time 4.51e-07/0.7571, allocations: 0 / 0.9758 GB, free: 7.621 MB / 0.573 GB Notification: Performance of Templates: time 0.01818/0.7753, allocations: 10.15 MB / 0.9857 GB, free: 2.613 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)