Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.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.001289/0.001289, allocations: 188.4 kB / 329.5 MB, free: 1.18 MB / 250.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 2.419/2.419, allocations: 225.6 MB / 0.6001 GB, free: 2.246 MB / 426.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.00102/0.00102, allocations: 110.1 kB / 0.7074 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004933, allocations: 9.188 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1984, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002145/0.2006, allocations: 1.455 MB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.203, allocations: 1.487 MB / 0.9336 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.81e-05/0.2031, allocations: 3.938 kB / 0.9336 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.2033, allocations: 27.83 kB / 0.9337 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.2034, allocations: 15.88 kB / 0.9337 GB, free: 22.12 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.0006757/0.2041, allocations: 187.6 kB / 0.9339 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.2044, allocations: 183.5 kB / 0.934 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2045, allocations: 53.88 kB / 0.9341 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.2047, allocations: 71.75 kB / 0.9342 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2048, allocations: 67.67 kB / 0.9342 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.2049, allocations: 8 kB / 0.9342 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.2053, allocations: 163.7 kB / 0.9344 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.2054, allocations: 63.81 kB / 0.9345 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.2055, allocations: 53.62 kB / 0.9345 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.2059, allocations: 263.7 kB / 0.9348 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2059, allocations: 0 / 0.9348 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2059, allocations: 0 / 0.9348 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2059, allocations: 0 / 0.9348 GB, free: 21.01 MB / 0.5886 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.001135/0.207, allocations: 0.53 MB / 0.9353 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2071, allocations: 8.031 kB / 0.9353 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.2072, allocations: 24.73 kB / 0.9353 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.2074, allocations: 234.4 kB / 0.9355 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.2075, allocations: 16.38 kB / 0.9355 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.2075, allocations: 31.84 kB / 0.9356 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.208, allocations: 193.2 kB / 0.9358 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2081, allocations: 0 / 0.9358 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.2081, allocations: 4 kB / 0.9358 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2081, allocations: 7.938 kB / 0.9358 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.2085, allocations: 123.9 kB / 0.9359 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.2104, allocations: 0.5664 MB / 0.9364 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.2117, allocations: 278.7 kB / 0.9367 GB, free: 18.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.212, allocations: 96.73 kB / 0.9368 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.212, allocations: 4 kB / 0.9368 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.2124, allocations: 151.3 kB / 0.9369 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 2.715e-06/0.2124, allocations: 0 / 0.9369 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.000963/0.2134, allocations: 359.1 kB / 0.9373 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.2135, allocations: 67.33 kB / 0.9374 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.2136, allocations: 176 kB / 0.9375 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.2137, allocations: 45.69 kB / 0.9376 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.2138, allocations: 124.4 kB / 0.9377 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.2139, allocations: 67.23 kB / 0.9377 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.2139, allocations: 4 kB / 0.9377 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.214, allocations: 338.8 kB / 0.9381 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.2143, allocations: 95.94 kB / 0.9382 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.2146, allocations: 243.8 kB / 0.9384 GB, free: 17.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.215, allocations: 131.9 kB / 0.9385 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.215, allocations: 4 kB / 0.9385 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008636/0.2159, allocations: 361.3 kB / 0.9389 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2159, allocations: 12 kB / 0.9389 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.2159, allocations: 4 kB / 0.9389 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.216, allocations: 8 kB / 0.9389 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.2163, allocations: 59.84 kB / 0.939 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2163, allocations: 16 kB / 0.939 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.2166, allocations: 47.67 kB / 0.939 GB, free: 16.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.2167, allocations: 16 kB / 0.939 GB, free: 16.36 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.2169, allocations: 171.4 kB / 0.9392 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.2169, allocations: 15.81 kB / 0.9392 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.217, allocations: 25.86 kB / 0.9392 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.217, allocations: 4 kB / 0.9392 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.217, allocations: 7.938 kB / 0.9392 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2171, allocations: 0 / 0.9392 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.2184, allocations: 0.6369 MB / 0.9399 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2184, allocations: 4 kB / 0.9399 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.2186, allocations: 31.92 kB / 0.9399 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2187, allocations: 4.078 kB / 0.9399 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.2187, allocations: 4 kB / 0.9399 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2187, allocations: 7.922 kB / 0.9399 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2187, allocations: 3.984 kB / 0.9399 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.2197, allocations: 486 kB / 0.9404 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2198, allocations: 100.8 kB / 0.9405 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.2198, allocations: 16.03 kB / 0.9405 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.2201, allocations: 23.97 kB / 0.9405 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.2202, allocations: 27.91 kB / 0.9405 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.2203, allocations: 4 kB / 0.9405 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000106/0.2204, allocations: 133.9 kB / 0.9407 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2204, allocations: 0 / 0.9407 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005587/0.221, allocations: 95.92 kB / 0.9408 GB, free: 14.48 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008279/0.2218, allocations: 350.7 kB / 0.9411 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006945/0.2225, allocations: 255.5 kB / 0.9413 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2225, allocations: 3.938 kB / 0.9413 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.2228, allocations: 99.64 kB / 0.9414 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2232, allocations: 31.67 kB / 0.9415 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.2243, allocations: 0.5166 MB / 0.942 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2245, allocations: 0.7443 MB / 0.9427 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.2247, allocations: 49.91 kB / 0.9427 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.2248, allocations: 19.44 kB / 0.9428 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of SimCode: time 9.41e-07/0.2248, allocations: 0 / 0.9428 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of Templates: time 0.008089/0.2329, allocations: 2.842 MB / 0.9455 GB, free: 9.582 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)