Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.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.552/1.552, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.0009476/0.0009477, allocations: 186 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.272/1.272, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0007067/0.0007065, allocations: 93 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 8 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4865, allocations: 119.2 MB / 1.022 GB, free: 58.06 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.001766/0.4883, allocations: 1.47 MB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.49, allocations: 1.911 MB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.4901, allocations: 10.19 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.4902, allocations: 28.78 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.4903, allocations: 10.12 kB / 1.026 GB, free: 55.9 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.4908, allocations: 196.8 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.4911, allocations: 229 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.4912, allocations: 56.31 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4914, allocations: 84.25 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.4915, allocations: 62.08 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.4915, allocations: 6.953 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.4918, allocations: 171.1 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.4919, allocations: 68.56 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.296e-05/0.492, allocations: 107 kB / 1.027 GB, free: 55.49 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.4924, allocations: 361.8 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4924, allocations: 0.5625 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4924, allocations: 0 / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4924, allocations: 0.75 kB / 1.027 GB, free: 55.38 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007218/0.4931, allocations: 0.5322 MB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.4932, allocations: 9.625 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.4932, allocations: 24.89 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.4934, allocations: 247.5 kB / 1.028 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.4935, allocations: 17.02 kB / 1.028 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.4935, allocations: 26.75 kB / 1.028 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.4938, allocations: 211.4 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4938, allocations: 4.656 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4939, allocations: 7.281 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4939, allocations: 5.656 kB / 1.028 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.4941, allocations: 116.4 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.4952, allocations: 0.6059 MB / 1.029 GB, free: 54.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.496, allocations: 304.1 kB / 1.029 GB, free: 54.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.4961, allocations: 101.8 kB / 1.029 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4961, allocations: 2.625 kB / 1.029 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.4964, allocations: 163.1 kB / 1.029 GB, free: 53.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.4964, allocations: 0 / 1.029 GB, free: 53.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.0005869/0.497, allocations: 392.5 kB / 1.03 GB, free: 53.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.497, allocations: 73.75 kB / 1.03 GB, free: 53.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4972, allocations: 185.9 kB / 1.03 GB, free: 53.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.4972, allocations: 44.36 kB / 1.03 GB, free: 53.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.4973, allocations: 122.3 kB / 1.03 GB, free: 53.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.4973, allocations: 71.06 kB / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.4973, allocations: 12 kB / 1.03 GB, free: 53.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.4974, allocations: 337 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.4976, allocations: 118.8 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.4978, allocations: 248.4 kB / 1.031 GB, free: 52.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.4981, allocations: 370.8 kB / 1.031 GB, free: 52.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4981, allocations: 0 / 1.031 GB, free: 52.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000502/0.4987, allocations: 418.8 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4987, allocations: 10.41 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4987, allocations: 6.344 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4987, allocations: 6.094 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4989, allocations: 66.72 kB / 1.032 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4989, allocations: 6.125 kB / 1.032 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.4991, allocations: 50.27 kB / 1.032 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.4991, allocations: 20.38 kB / 1.032 GB, free: 52.4 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: 34 ($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_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001369/0.4993, allocations: 187.7 kB / 1.032 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4993, allocations: 18.25 kB / 1.032 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.4993, allocations: 23.69 kB / 1.032 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4993, allocations: 2.625 kB / 1.032 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4993, allocations: 0 / 1.032 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4994, allocations: 3.594 kB / 1.032 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/0.5002, allocations: 0.6865 MB / 1.033 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5002, allocations: 0 / 1.033 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.5003, allocations: 25.28 kB / 1.033 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5003, allocations: 3.219 kB / 1.033 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.5004, allocations: 5.891 kB / 1.033 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5004, allocations: 3.047 kB / 1.033 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5004, allocations: 2.406 kB / 1.033 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.501, allocations: 0.5154 MB / 1.033 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.501, allocations: 96.02 kB / 1.033 GB, free: 51.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.5011, allocations: 17.06 kB / 1.033 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.5013, allocations: 27.45 kB / 1.033 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.5013, allocations: 19.42 kB / 1.033 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.5014, allocations: 15.95 kB / 1.033 GB, free: 51.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.041e-05/0.5014, allocations: 133.1 kB / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5015, allocations: 96 / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003907/0.5018, allocations: 108.7 kB / 1.033 GB, free: 51.3 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: 18 (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],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[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 (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0005722/0.5024, allocations: 364.2 kB / 1.034 GB, free: 51.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.5028, allocations: 278.3 kB / 1.034 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5028, allocations: 0 / 1.034 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.503, allocations: 101.4 kB / 1.034 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5033, allocations: 30.38 kB / 1.034 GB, free: 51.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.5041, allocations: 0.5638 MB / 1.035 GB, free: 50.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.5042, allocations: 0.7465 MB / 1.035 GB, free: 49.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.5044, allocations: 54.44 kB / 1.036 GB, free: 49.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.5044, allocations: 23.97 kB / 1.036 GB, free: 49.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5044, allocations: 3.938 kB / 1.036 GB, free: 49.96 MB / 0.698 GB Notification: Performance of Templates: time 0.005382/0.5098, allocations: 3.075 MB / 1.039 GB, free: 49.72 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)