Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.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.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") 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.535/1.535, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001001/0.001001, allocations: 190 kB / 382.3 MB, free: 14.85 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.303/1.303, allocations: 225.7 MB / 0.6617 GB, free: 7.172 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.0007652/0.0007656, allocations: 100.5 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 8 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5209, allocations: 119.2 MB / 1.022 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0008145/0.5218, allocations: 282.3 kB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.5234, allocations: 1.635 MB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.5234, allocations: 0 / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.264e-05/0.5235, allocations: 3.938 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.5236, allocations: 0 / 1.024 GB, free: 56.73 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.0005007/0.5241, allocations: 255.1 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.5242, allocations: 71.88 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.5242, allocations: 6.125 kB / 1.024 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.5243, allocations: 49.69 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.5243, allocations: 39.28 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.5244, allocations: 3.5 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.5247, allocations: 169.9 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.5248, allocations: 6.875 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.5248, allocations: 64.69 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.5252, allocations: 248.9 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5252, allocations: 0 / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5252, allocations: 1.594 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.5252, allocations: 0 / 1.025 GB, free: 56.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003336/0.5256, allocations: 417 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5256, allocations: 12.88 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.5257, allocations: 7.219 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.5258, allocations: 181.6 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5258, allocations: 4.312 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.5259, allocations: 6 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.5261, allocations: 130.3 kB / 1.026 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.5261, allocations: 2.484 kB / 1.026 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.5261, allocations: 4.812 kB / 1.026 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5262, allocations: 0 / 1.026 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.5263, allocations: 62.03 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.5264, allocations: 156.3 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.5265, allocations: 121.3 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.5267, allocations: 97.86 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.5267, allocations: 1.156 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.5267, allocations: 41.47 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.5267, allocations: 0 / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004778/0.5272, allocations: 289.9 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.5273, allocations: 88.05 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.5274, allocations: 136.1 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.5274, allocations: 29.27 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.5274, allocations: 85.22 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.5274, allocations: 19.08 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.5275, allocations: 3.531 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.5275, allocations: 321.3 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.5276, allocations: 57.56 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.5277, allocations: 61.56 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.5279, allocations: 179.8 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5279, allocations: 1.969 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002805/0.5282, allocations: 239.5 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.5282, allocations: 47.25 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5282, allocations: 2.125 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5283, allocations: 0 / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.5283, allocations: 2.969 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5283, allocations: 0.5312 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.5286, allocations: 20.3 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.5286, allocations: 21.39 kB / 1.028 GB, free: 54.43 MB / 0.698 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 9.865e-05/0.5287, allocations: 163.4 kB / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.5287, allocations: 22.08 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-06/0.5288, allocations: 8.344 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5288, allocations: 1.312 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.5288, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5288, allocations: 0 / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.82e-05/0.5289, allocations: 173 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5289, allocations: 0 / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.5289, allocations: 3.938 kB / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.5289, allocations: 96 / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.5289, allocations: 19.77 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5289, allocations: 0 / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5289, allocations: 0.9688 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.5292, allocations: 287.9 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.5293, allocations: 89.36 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.5293, allocations: 8.609 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.5295, allocations: 19.86 kB / 1.029 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.5295, allocations: 21.22 kB / 1.029 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.5296, allocations: 13.42 kB / 1.029 GB, free: 53.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.5296, allocations: 93.28 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5296, allocations: 0 / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003174/0.5299, allocations: 84.33 kB / 1.029 GB, free: 53.71 MB / 0.698 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.001506/0.5315, allocations: 375.6 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.5318, allocations: 287.1 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5318, allocations: 0 / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.532, allocations: 203.9 kB / 1.03 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.5322, allocations: 27.94 kB / 1.03 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.5327, allocations: 304.6 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.297e-05/0.5329, allocations: 0.6836 MB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.643e-05/0.5329, allocations: 47.09 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.5329, allocations: 9.625 kB / 1.031 GB, free: 52.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5329, allocations: 4 kB / 1.031 GB, free: 52.43 MB / 0.698 GB Notification: Performance of Templates: time 0.005522/0.5385, allocations: 3.659 MB / 1.034 GB, free: 52.14 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)