Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.IO.Python36.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.227/1.227, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.000846/0.000846, allocations: 174 kB / 330.8 MB, free: 464 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.327/1.327, allocations: 225.7 MB / 0.6016 GB, free: 1.562 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.0008028/0.000803, allocations: 103.6 kB / 0.709 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0006482/0.15, allocations: 277.2 kB / 0.933 GB, free: 5.988 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1515, allocations: 1.784 MB / 0.9348 GB, free: 4.066 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.1516, allocations: 0 / 0.9348 GB, free: 4.066 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 8.831e-05/0.1517, allocations: 4 kB / 0.9348 GB, free: 4.062 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.1517, allocations: 0 / 0.9348 GB, free: 4.062 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.0005395/0.1523, allocations: 267.4 kB / 0.935 GB, free: 3.801 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.1524, allocations: 75.8 kB / 0.9351 GB, free: 3.727 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1524, allocations: 4 kB / 0.9351 GB, free: 3.723 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.1525, allocations: 51.83 kB / 0.9352 GB, free: 3.672 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.1525, allocations: 35.91 kB / 0.9352 GB, free: 3.637 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1525, allocations: 4 kB / 0.9352 GB, free: 3.633 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.1529, allocations: 195.7 kB / 0.9354 GB, free: 3.441 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.1529, allocations: 11.92 kB / 0.9354 GB, free: 3.43 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.153, allocations: 57.56 kB / 0.9354 GB, free: 3.367 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1533, allocations: 275.5 kB / 0.9357 GB, free: 3.098 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1533, allocations: 7.922 kB / 0.9357 GB, free: 3.09 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1533, allocations: 0 / 0.9357 GB, free: 3.09 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1533, allocations: 0 / 0.9357 GB, free: 3.09 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.0002818/0.1536, allocations: 413.2 kB / 0.9361 GB, free: 2.633 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.1536, allocations: 15.97 kB / 0.9361 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1537, allocations: 12.84 kB / 0.9361 GB, free: 2.605 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.197e-05/0.1538, allocations: 172.6 kB / 0.9363 GB, free: 2.398 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1538, allocations: 8.375 kB / 0.9363 GB, free: 2.391 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1538, allocations: 8.375 kB / 0.9363 GB, free: 2.383 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.154, allocations: 121.7 kB / 0.9364 GB, free: 2.258 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.154, allocations: 0 / 0.9364 GB, free: 2.258 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.154, allocations: 4 kB / 0.9364 GB, free: 2.254 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.154, allocations: 3.984 kB / 0.9364 GB, free: 2.25 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.1541, allocations: 63.89 kB / 0.9365 GB, free: 2.188 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.501e-05/0.1542, allocations: 161.6 kB / 0.9367 GB, free: 1.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1543, allocations: 118.6 kB / 0.9368 GB, free: 1.855 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.1544, allocations: 104.9 kB / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.1544, allocations: 0 / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.1545, allocations: 34.5 kB / 0.9369 GB, free: 1.707 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1545, allocations: 0 / 0.9369 GB, free: 1.707 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.0003733/0.1548, allocations: 295.1 kB / 0.9372 GB, free: 1.406 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1549, allocations: 93.09 kB / 0.9373 GB, free: 1.297 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.155, allocations: 121.8 kB / 0.9374 GB, free: 1.168 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.155, allocations: 26.08 kB / 0.9374 GB, free: 1.137 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.155, allocations: 92.12 kB / 0.9375 GB, free: 1.043 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.155, allocations: 19.75 kB / 0.9375 GB, free: 1.023 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.155, allocations: 4 kB / 0.9375 GB, free: 1.02 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.1551, allocations: 314.8 kB / 0.9378 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.1552, allocations: 63.94 kB / 0.9379 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.1552, allocations: 63.94 kB / 0.9379 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1554, allocations: 176.5 kB / 0.9381 GB, free: 400 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1554, allocations: 4 kB / 0.9381 GB, free: 396 kB / 0.573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002366/0.1556, allocations: 243 kB / 0.9383 GB, free: 140 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.1557, allocations: 45.69 kB / 0.9384 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1557, allocations: 0 / 0.9384 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1557, allocations: 0 / 0.9384 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.1557, allocations: 0 / 0.9384 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1557, allocations: 0 / 0.9384 GB, free: 88 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.156, allocations: 23.97 kB / 0.9384 GB, free: 64 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.156, allocations: 12 kB / 0.9384 GB, free: 52 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.0001612/0.1562, allocations: 172.1 kB / 0.9386 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1562, allocations: 15.84 kB / 0.9386 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.1563, allocations: 4.375 kB / 0.9386 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1563, allocations: 0 / 0.9386 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1563, allocations: 3.984 kB / 0.9386 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1563, allocations: 4 kB / 0.9386 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1564, allocations: 165.7 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1564, allocations: 3.984 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.1564, allocations: 3.938 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1565, allocations: 7.984 kB / 0.9388 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1565, allocations: 12 kB / 0.9388 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1565, allocations: 0 / 0.9388 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1565, allocations: 3.984 kB / 0.9388 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.1569, allocations: 290.5 kB / 0.9391 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1569, allocations: 96.88 kB / 0.9392 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.157, allocations: 8 kB / 0.9392 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1572, allocations: 19.97 kB / 0.9392 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.1572, allocations: 8.031 kB / 0.9392 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.1572, allocations: 19.98 kB / 0.9392 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.1573, allocations: 95.27 kB / 0.9393 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.1573, allocations: 288 / 0.9393 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003369/0.1576, allocations: 83.98 kB / 0.9394 GB, free: 14.94 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.0008511/0.1585, allocations: 479 kB / 0.9399 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.1589, allocations: 291.2 kB / 0.9401 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1589, allocations: 0 / 0.9401 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.1591, allocations: 207.3 kB / 0.9403 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1592, allocations: 11.94 kB / 0.9403 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.1597, allocations: 302.5 kB / 0.9406 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.1599, allocations: 0.6848 MB / 0.9413 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.726e-05/0.16, allocations: 48.12 kB / 0.9413 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.16, allocations: 7.438 kB / 0.9414 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of SimCode: time 2.595e-06/0.16, allocations: 0 / 0.9414 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of Templates: time 0.006471/0.1665, allocations: 3.903 MB / 0.9452 GB, free: 9.094 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)