Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Obsolete.Utilities.IO.Python27.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.74/1.74, allocations: 297.4 MB / 312.6 MB, free: 2.938 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.001116/0.001116, allocations: 182 kB / 382.3 MB, free: 14.84 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.518/1.518, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.0009116/0.0009116, allocations: 92.06 kB / 0.7789 GB, free: 46.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 8 kB / 0.9059 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7892, allocations: 119.2 MB / 1.022 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0009515/0.7903, allocations: 284.7 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.7924, allocations: 1.78 MB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.7924, allocations: 1.156 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.7926, allocations: 7 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.7926, allocations: 2.5 kB / 1.024 GB, free: 56.51 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.0006722/0.7933, allocations: 260.2 kB / 1.025 GB, free: 56.42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.7934, allocations: 78.09 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.88e-05/0.7935, allocations: 5.75 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.7936, allocations: 46.77 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.7937, allocations: 41.69 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.7937, allocations: 3.344 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.7943, allocations: 197.1 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.7944, allocations: 5.172 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.7945, allocations: 63.98 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.7951, allocations: 274.4 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.7952, allocations: 1.219 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7952, allocations: 2.094 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7952, allocations: 0 / 1.025 GB, free: 56.22 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.0005588/0.7958, allocations: 420.1 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.7958, allocations: 9.281 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.7959, allocations: 7.156 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.7961, allocations: 182 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.7961, allocations: 3.812 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.7962, allocations: 10.06 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.7965, allocations: 129.9 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.7965, allocations: 2.25 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.7965, allocations: 2.719 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7966, allocations: 2.375 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.7967, allocations: 62.2 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.7969, allocations: 158.5 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.7971, allocations: 120.2 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.7973, allocations: 102.5 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.7973, allocations: 2.656 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.7973, allocations: 35.91 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.7973, allocations: 0 / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007308/0.7981, allocations: 290.9 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.7982, allocations: 92.91 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.7983, allocations: 126.9 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.7983, allocations: 27.14 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.7984, allocations: 86.64 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.7984, allocations: 25.22 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.7985, allocations: 4.344 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.7986, allocations: 322.3 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.7987, allocations: 59.17 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.7988, allocations: 58.97 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.799, allocations: 180.2 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7991, allocations: 0 / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003725/0.7994, allocations: 238.4 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.7995, allocations: 42.45 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7995, allocations: 2.75 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7995, allocations: 0.7188 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-06/0.7996, allocations: 3.281 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7996, allocations: 7 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.7999, allocations: 16.91 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.8, allocations: 18.8 kB / 1.028 GB, free: 54.19 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 0.0001489/0.8001, allocations: 161.4 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.8002, allocations: 17.69 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.8002, allocations: 11.7 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8002, allocations: 0 / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.8002, allocations: 2.156 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8002, allocations: 2.391 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.8003, allocations: 171.1 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8003, allocations: 0 / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.8004, allocations: 3.938 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8004, allocations: 6.109 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.8004, allocations: 14.45 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8004, allocations: 2.531 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8004, allocations: 96 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.8009, allocations: 293 kB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.801, allocations: 88.89 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.801, allocations: 6.812 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.8012, allocations: 19.09 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.8013, allocations: 15.62 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.8013, allocations: 13.22 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.8014, allocations: 97.14 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8014, allocations: 1.906 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004532/0.8018, allocations: 86.06 kB / 1.029 GB, free: 53.48 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.009672/0.8115, allocations: 470.1 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007381/0.8123, allocations: 288.7 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8123, allocations: 3.406 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.8126, allocations: 204.8 kB / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.8129, allocations: 16.17 kB / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/0.8137, allocations: 313.4 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.8139, allocations: 0.6805 MB / 1.031 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.814, allocations: 56.33 kB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.814, allocations: 8.781 kB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.814, allocations: 0 / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of Templates: time 0.008638/0.8227, allocations: 3.948 MB / 1.035 GB, free: 51.81 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)