Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 297.4 MB / 312.6 MB, free: 2.938 MB / 234.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.001108/0.001108, allocations: 174.1 kB / 382.3 MB, free: 14.83 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.541/1.541, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.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.0008038/0.000804, allocations: 88.86 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003907, allocations: 8 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6819, allocations: 119.2 MB / 1.022 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002754/0.6847, allocations: 1.466 MB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.6875, allocations: 1.904 MB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.6876, allocations: 6.844 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.6879, allocations: 23.92 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.688, allocations: 26.81 kB / 1.026 GB, free: 55.77 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.6888, allocations: 188.8 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.6892, allocations: 199.5 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.6894, allocations: 56.72 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.6895, allocations: 74.58 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.6897, allocations: 55.16 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.6897, allocations: 3.312 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.6902, allocations: 180.4 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.6903, allocations: 62.62 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.6904, allocations: 98.89 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.691, allocations: 350.5 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.691, allocations: 0 / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/0.691, allocations: 0 / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.6911, allocations: 0 / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000969/0.692, allocations: 0.5253 MB / 1.027 GB, free: 54.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6921, allocations: 9.75 kB / 1.027 GB, free: 54.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.6922, allocations: 29.28 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.6924, allocations: 238 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.6925, allocations: 20.73 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.6926, allocations: 29.41 kB / 1.028 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.693, allocations: 183.9 kB / 1.028 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.693, allocations: 1.312 kB / 1.028 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.6931, allocations: 6.016 kB / 1.028 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6931, allocations: 5.75 kB / 1.028 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.6934, allocations: 123.1 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.6951, allocations: 0.5632 MB / 1.029 GB, free: 54.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/0.6961, allocations: 274.8 kB / 1.029 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.6963, allocations: 94.16 kB / 1.029 GB, free: 53.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.6963, allocations: 5.828 kB / 1.029 GB, free: 53.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.6967, allocations: 158 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.6968, allocations: 3.938 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0009038/0.6977, allocations: 355 kB / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.6977, allocations: 68.38 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.6979, allocations: 182.4 kB / 1.03 GB, free: 53.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.698, allocations: 43.89 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.6981, allocations: 122.1 kB / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.6982, allocations: 69.45 kB / 1.03 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.6982, allocations: 5.781 kB / 1.03 GB, free: 53.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.6983, allocations: 335.9 kB / 1.03 GB, free: 53.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.6986, allocations: 101.8 kB / 1.03 GB, free: 53.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.6989, allocations: 228.3 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.6995, allocations: 339.1 kB / 1.031 GB, free: 52.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6995, allocations: 6.594 kB / 1.031 GB, free: 52.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007934/0.7003, allocations: 368 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.7003, allocations: 10.94 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.7003, allocations: 3.875 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.7004, allocations: 11.62 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.7007, allocations: 60.78 kB / 1.031 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.7007, allocations: 13.19 kB / 1.031 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.701, allocations: 49.61 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.701, allocations: 12.88 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0001944/0.7012, allocations: 166.8 kB / 1.031 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.7013, allocations: 26.3 kB / 1.031 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.7013, allocations: 24.08 kB / 1.032 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7013, allocations: 2.344 kB / 1.032 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7014, allocations: 3.938 kB / 1.032 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7014, allocations: 0 / 1.032 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.7025, allocations: 0.6357 MB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.7026, allocations: 0 / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.7027, allocations: 26.62 kB / 1.032 GB, free: 51.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.7027, allocations: 3.938 kB / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.7028, allocations: 6.828 kB / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.7028, allocations: 2.203 kB / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7028, allocations: 0.875 kB / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.7037, allocations: 489.4 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.7037, allocations: 103.2 kB / 1.033 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.7038, allocations: 14.05 kB / 1.033 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.704, allocations: 22.88 kB / 1.033 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.7041, allocations: 21.02 kB / 1.033 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.7042, allocations: 9.031 kB / 1.033 GB, free: 51.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001071/0.7043, allocations: 134.5 kB / 1.033 GB, free: 51.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7043, allocations: 0 / 1.033 GB, free: 51.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000718/0.705, allocations: 105 kB / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001066/0.7061, allocations: 362.5 kB / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006822/0.7068, allocations: 247.9 kB / 1.034 GB, free: 51.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7068, allocations: 0 / 1.034 GB, free: 51.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.7071, allocations: 103.4 kB / 1.034 GB, free: 51.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.7076, allocations: 24.36 kB / 1.034 GB, free: 51.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.7087, allocations: 0.5401 MB / 1.034 GB, free: 50.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.709, allocations: 0.7389 MB / 1.035 GB, free: 50.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.7092, allocations: 50.8 kB / 1.035 GB, free: 50.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.7093, allocations: 20.09 kB / 1.035 GB, free: 50.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.874e-06/0.7093, allocations: 0 / 1.035 GB, free: 50.04 MB / 0.698 GB Notification: Performance of Templates: time 0.008562/0.7179, allocations: 2.896 MB / 1.038 GB, free: 49.79 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)