Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.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 8.0.1-maint.8.0.x/package.mo): time 1.917/1.917, allocations: 292.6 MB / 307.9 MB, free: 7.105 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.001385/0.001385, allocations: 189 kB / 376.5 MB, free: 4.457 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.429/1.429, allocations: 225.7 MB / 0.655 GB, free: 13.16 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.0009445/0.0009445, allocations: 95.44 kB / 0.7711 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 13.25 kB / 0.897 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8251, allocations: 118.2 MB / 1.012 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0009508/0.8261, allocations: 270.8 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.8281, allocations: 1.198 MB / 1.014 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.8281, allocations: 1.594 kB / 1.014 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.8283, allocations: 11.08 kB / 1.014 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.8283, allocations: 2.406 kB / 1.014 GB, free: 57.71 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.000685/0.829, allocations: 259.2 kB / 1.014 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.8292, allocations: 61.3 kB / 1.014 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.8293, allocations: 2.781 kB / 1.014 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.8293, allocations: 46.95 kB / 1.014 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.8294, allocations: 42.19 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.8295, allocations: 5.812 kB / 1.014 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.8299, allocations: 187.9 kB / 1.014 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.83, allocations: 5.266 kB / 1.014 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.8301, allocations: 63.97 kB / 1.015 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.8303, allocations: 195.9 kB / 1.015 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.8304, allocations: 1.406 kB / 1.015 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8304, allocations: 1.219 kB / 1.015 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.8304, allocations: 0 / 1.015 GB, free: 57.61 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.0003985/0.8308, allocations: 424.2 kB / 1.015 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8308, allocations: 8.781 kB / 1.015 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.8309, allocations: 6.812 kB / 1.015 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.831, allocations: 181.5 kB / 1.015 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.831, allocations: 10.59 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.8311, allocations: 9.812 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.8313, allocations: 127.8 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8313, allocations: 0 / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.8314, allocations: 1.062 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8314, allocations: 1.25 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.8315, allocations: 58.72 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.8317, allocations: 160.5 kB / 1.016 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.8318, allocations: 124.1 kB / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.832, allocations: 96.81 kB / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.832, allocations: 0.6875 kB / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.832, allocations: 38.61 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.832, allocations: 3.375 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005541/0.8326, allocations: 295.8 kB / 1.016 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.8326, allocations: 88.17 kB / 1.016 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.8327, allocations: 123.9 kB / 1.016 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.8327, allocations: 36.14 kB / 1.016 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.8328, allocations: 90.39 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.8328, allocations: 18.81 kB / 1.017 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.8329, allocations: 0 / 1.017 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.8329, allocations: 319 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.8331, allocations: 65.16 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.8332, allocations: 62.25 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.8334, allocations: 178.6 kB / 1.017 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8334, allocations: 3.188 kB / 1.017 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003065/0.8337, allocations: 232 kB / 1.017 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.8338, allocations: 47.59 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8338, allocations: 0 / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8338, allocations: 0 / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.8338, allocations: 6.656 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8338, allocations: 2.188 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.8341, allocations: 19.33 kB / 1.017 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.8342, allocations: 13.55 kB / 1.017 GB, free: 55.8 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.0001326/0.8343, allocations: 167.9 kB / 1.018 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.8344, allocations: 13.84 kB / 1.018 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.8344, allocations: 9.25 kB / 1.018 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.8344, allocations: 0 / 1.018 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8344, allocations: 0 / 1.018 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.8344, allocations: 5.594 kB / 1.018 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.8345, allocations: 173.6 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8345, allocations: 2.109 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/0.8345, allocations: 5.094 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8345, allocations: 0 / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.8346, allocations: 12.06 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.8346, allocations: 0.6562 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8346, allocations: 2.594 kB / 1.018 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.835, allocations: 289.5 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.8351, allocations: 92.98 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.8351, allocations: 14.62 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.8353, allocations: 15.75 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.8354, allocations: 9.844 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.8354, allocations: 24.56 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.8354, allocations: 91.8 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8355, allocations: 3.469 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004333/0.8359, allocations: 85.03 kB / 1.018 GB, free: 55.16 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.001209/0.8371, allocations: 477 kB / 1.019 GB, free: 55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.8376, allocations: 289.2 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8376, allocations: 3 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.8378, allocations: 207.4 kB / 1.019 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.838, allocations: 16.5 kB / 1.019 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.8386, allocations: 301.9 kB / 1.02 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.8387, allocations: 0.6846 MB / 1.02 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.8388, allocations: 55.58 kB / 1.02 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.8388, allocations: 7.438 kB / 1.02 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.8389, allocations: 0.7188 kB / 1.02 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.007627/0.8465, allocations: 3.933 MB / 1.024 GB, free: 53.77 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)