Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.511/1.511, allocations: 292.6 MB / 307.8 MB, free: 7.168 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.0009312/0.0009313, allocations: 185.1 kB / 376.5 MB, free: 4.469 MB / 298.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.255/1.255, allocations: 225.7 MB / 0.655 GB, free: 13.18 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.0008875/0.0008874, allocations: 90.89 kB / 0.7711 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 8.625 kB / 0.897 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.545, allocations: 118.2 MB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0006254/0.5457, allocations: 272.4 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.5471, allocations: 1.194 MB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.5472, allocations: 0 / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.268e-05/0.5473, allocations: 12.88 kB / 1.014 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.5473, allocations: 0 / 1.014 GB, free: 57.19 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0005236/0.5479, allocations: 270 kB / 1.014 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.5479, allocations: 56.23 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.548, allocations: 3.844 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.548, allocations: 48.75 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.5481, allocations: 40.72 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.5481, allocations: 1.281 kB / 1.014 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.5485, allocations: 192 kB / 1.014 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.5485, allocations: 8.078 kB / 1.014 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.5486, allocations: 58.94 kB / 1.014 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.5488, allocations: 199.9 kB / 1.015 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5488, allocations: 0 / 1.015 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5488, allocations: 0 / 1.015 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5488, allocations: 0 / 1.015 GB, free: 57.09 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002933/0.5491, allocations: 421.4 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5492, allocations: 11.94 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.5492, allocations: 8.188 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.779e-05/0.5493, allocations: 177.1 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.5494, allocations: 3.562 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.5494, allocations: 10.88 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.5496, allocations: 128.6 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5497, allocations: 0 / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.5497, allocations: 3.719 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5497, allocations: 0 / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.5498, allocations: 65.53 kB / 1.015 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.55, allocations: 154.1 kB / 1.016 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.5502, allocations: 114.8 kB / 1.016 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.5503, allocations: 106.2 kB / 1.016 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-06/0.5503, allocations: 4.906 kB / 1.016 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.5503, allocations: 40.5 kB / 1.016 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5503, allocations: 0.6562 kB / 1.016 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003965/0.5507, allocations: 287.5 kB / 1.016 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.5508, allocations: 89 kB / 1.016 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.5509, allocations: 134.3 kB / 1.016 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.5509, allocations: 28.64 kB / 1.016 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.049e-05/0.5509, allocations: 88.14 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.5509, allocations: 14.56 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.551, allocations: 4.219 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.551, allocations: 321.7 kB / 1.017 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.5511, allocations: 62.8 kB / 1.017 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.5512, allocations: 59.56 kB / 1.017 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.5514, allocations: 185.5 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5514, allocations: 1.219 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002575/0.5516, allocations: 233.7 kB / 1.017 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.5517, allocations: 44.53 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5517, allocations: 0 / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5517, allocations: 0 / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.5517, allocations: 3.375 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5517, allocations: 1.797 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.552, allocations: 20.97 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.552, allocations: 13.88 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000105/0.5522, allocations: 170 kB / 1.018 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.5522, allocations: 19.52 kB / 1.018 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.5522, allocations: 11.33 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5522, allocations: 1.219 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5522, allocations: 1.219 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5522, allocations: 2.719 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.5523, allocations: 168.8 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5523, allocations: 0 / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.5523, allocations: 5 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.5523, allocations: 3 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.5524, allocations: 15.73 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5524, allocations: 3.781 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5524, allocations: 3.328 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.5527, allocations: 283.1 kB / 1.018 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.5527, allocations: 92.05 kB / 1.018 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.5528, allocations: 9.359 kB / 1.018 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.5529, allocations: 22.33 kB / 1.018 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.553, allocations: 10.72 kB / 1.018 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.553, allocations: 20.97 kB / 1.018 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.5531, allocations: 92.38 kB / 1.018 GB, free: 54.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5531, allocations: 0 / 1.018 GB, free: 54.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002988/0.5534, allocations: 87.55 kB / 1.018 GB, free: 54.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0008507/0.5542, allocations: 471.9 kB / 1.019 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.5545, allocations: 288.2 kB / 1.019 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5545, allocations: 0.75 kB / 1.019 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.5547, allocations: 212.6 kB / 1.019 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.5549, allocations: 12.55 kB / 1.019 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.5554, allocations: 304.1 kB / 1.02 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.5555, allocations: 0.6882 MB / 1.02 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.773e-05/0.5556, allocations: 49.5 kB / 1.02 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.5556, allocations: 8.312 kB / 1.02 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5556, allocations: 0.9375 kB / 1.02 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.005426/0.561, allocations: 3.876 MB / 1.024 GB, free: 53.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)