Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.0009599/0.0009599, allocations: 187 kB / 330.8 MB, free: 488 kB / 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 1.3/1.3, allocations: 225.7 MB / 0.6016 GB, free: 1.664 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.0007154/0.0007154, allocations: 95.67 kB / 0.709 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 9.188 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 109.2 MB / 0.9328 GB, free: 6.242 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0006199/0.1411, allocations: 269.3 kB / 0.933 GB, free: 5.984 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1425, allocations: 1.784 MB / 0.9348 GB, free: 4.062 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.1425, allocations: 0 / 0.9348 GB, free: 4.062 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 8.377e-05/0.1426, allocations: 7.938 kB / 0.9348 GB, free: 4.055 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.515e-05/0.1427, allocations: 4 kB / 0.9348 GB, free: 4.051 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0005332/0.1432, allocations: 259.4 kB / 0.935 GB, free: 3.797 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.1433, allocations: 79.86 kB / 0.9351 GB, free: 3.719 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1434, allocations: 4 kB / 0.9351 GB, free: 3.715 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.1434, allocations: 47.89 kB / 0.9352 GB, free: 3.668 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.1435, allocations: 39.84 kB / 0.9352 GB, free: 3.629 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1435, allocations: 4 kB / 0.9352 GB, free: 3.625 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.1438, allocations: 191.7 kB / 0.9354 GB, free: 3.438 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1438, allocations: 7.984 kB / 0.9354 GB, free: 3.43 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.1439, allocations: 61.5 kB / 0.9354 GB, free: 3.363 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.1442, allocations: 279.5 kB / 0.9357 GB, free: 3.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1442, allocations: 4 kB / 0.9357 GB, free: 3.086 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1442, allocations: 0 / 0.9357 GB, free: 3.086 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1442, allocations: 0 / 0.9357 GB, free: 3.086 MB / 0.573 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.0002579/0.1445, allocations: 417.2 kB / 0.9361 GB, free: 2.625 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1445, allocations: 11.98 kB / 0.9361 GB, free: 2.613 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1446, allocations: 12.84 kB / 0.9361 GB, free: 2.602 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.1447, allocations: 176.6 kB / 0.9363 GB, free: 2.391 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1447, allocations: 4.375 kB / 0.9363 GB, free: 2.387 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1447, allocations: 4.375 kB / 0.9363 GB, free: 2.383 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1449, allocations: 133.7 kB / 0.9364 GB, free: 2.246 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1449, allocations: 3.984 kB / 0.9364 GB, free: 2.242 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1449, allocations: 4 kB / 0.9364 GB, free: 2.238 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-06/0.1449, allocations: 0 / 0.9364 GB, free: 2.238 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.145, allocations: 55.95 kB / 0.9365 GB, free: 2.184 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.42e-05/0.1451, allocations: 169.5 kB / 0.9367 GB, free: 1.969 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1452, allocations: 114.6 kB / 0.9368 GB, free: 1.848 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.1453, allocations: 100.9 kB / 0.9369 GB, free: 1.746 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.1454, allocations: 0 / 0.9369 GB, free: 1.746 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.1454, allocations: 42.5 kB / 0.9369 GB, free: 1.695 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1454, allocations: 0 / 0.9369 GB, free: 1.695 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0003816/0.1458, allocations: 295.1 kB / 0.9372 GB, free: 1.395 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1458, allocations: 89.09 kB / 0.9373 GB, free: 1.289 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.1459, allocations: 125.7 kB / 0.9374 GB, free: 1.156 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1459, allocations: 29.7 kB / 0.9374 GB, free: 1.121 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.1459, allocations: 92.17 kB / 0.9375 GB, free: 1.027 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.146, allocations: 15.75 kB / 0.9375 GB, free: 1.012 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.146, allocations: 0 / 0.9375 GB, free: 1.012 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.473e-05/0.146, allocations: 322.8 kB / 0.9378 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.1461, allocations: 55.95 kB / 0.9379 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.1462, allocations: 67.94 kB / 0.938 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1463, allocations: 176.2 kB / 0.9381 GB, free: 388 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1463, allocations: 0 / 0.9381 GB, free: 388 kB / 0.573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002349/0.1466, allocations: 239 kB / 0.9384 GB, free: 136 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.1466, allocations: 49.66 kB / 0.9384 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1466, allocations: 256 / 0.9384 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1466, allocations: 0 / 0.9384 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1466, allocations: 4 kB / 0.9384 GB, free: 76 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1466, allocations: 0 / 0.9384 GB, free: 76 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1469, allocations: 23.97 kB / 0.9384 GB, free: 52 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1469, allocations: 12 kB / 0.9384 GB, free: 40 kB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.1471, allocations: 168.6 kB / 0.9386 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.1471, allocations: 19.84 kB / 0.9386 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.1471, allocations: 12.36 kB / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1471, allocations: 0 / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1471, allocations: 0 / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1471, allocations: 0 / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.1473, allocations: 169.6 kB / 0.9388 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1473, allocations: 0 / 0.9388 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-06/0.1473, allocations: 3.938 kB / 0.9388 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1473, allocations: 0 / 0.9388 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1473, allocations: 15.98 kB / 0.9388 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1473, allocations: 3.984 kB / 0.9388 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1473, allocations: 8 kB / 0.9388 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.1477, allocations: 290.5 kB / 0.9391 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1477, allocations: 96.88 kB / 0.9392 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.1478, allocations: 8 kB / 0.9392 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1479, allocations: 19.97 kB / 0.9392 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.148, allocations: 4 kB / 0.9392 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.148, allocations: 15.98 kB / 0.9392 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.1481, allocations: 103.6 kB / 0.9393 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1481, allocations: 0 / 0.9393 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003084/0.1484, allocations: 91.97 kB / 0.9394 GB, free: 14.92 MB / 0.5886 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 (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.009244/0.1576, allocations: 466.9 kB / 0.9399 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.1581, allocations: 287.2 kB / 0.9401 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1581, allocations: 3.938 kB / 0.9401 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.1583, allocations: 207.3 kB / 0.9403 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1585, allocations: 11.94 kB / 0.9404 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.1591, allocations: 306.5 kB / 0.9406 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.1593, allocations: 0.6809 MB / 0.9413 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.482e-05/0.1593, allocations: 56.05 kB / 0.9414 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.1594, allocations: 11.44 kB / 0.9414 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of SimCode: time 1.563e-06/0.1594, allocations: 0 / 0.9414 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of Templates: time 0.006379/0.1658, allocations: 3.946 MB / 0.9452 GB, free: 9.039 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)