Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.432/2.432, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 181 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.527/2.527, allocations: 205.4 MB / 0.5767 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 99.22 kB / 0.6813 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004813, allocations: 15.94 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 106.3 MB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0008564/0.2152, allocations: 277.9 kB / 0.8993 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.2173, allocations: 1.199 MB / 0.9005 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.2174, allocations: 0 / 0.9005 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2175, allocations: 19.88 kB / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.2176, allocations: 4 kB / 0.9005 GB, free: 64.41 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0009047/0.2185, allocations: 251.5 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.2186, allocations: 55.88 kB / 0.9008 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.2187, allocations: 11.98 kB / 0.9008 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.2188, allocations: 43.89 kB / 0.9008 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.2188, allocations: 39.91 kB / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.2189, allocations: 0 / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006067/0.2195, allocations: 199.6 kB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.2195, allocations: 4 kB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.2196, allocations: 37.64 kB / 0.9011 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.22, allocations: 195.7 kB / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.22, allocations: 0 / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.22, allocations: 0 / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.22, allocations: 0 / 0.9013 GB, free: 63.58 MB / 0.6042 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.0003978/0.2204, allocations: 426.5 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2205, allocations: 8.031 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.2206, allocations: 12.84 kB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2207, allocations: 176.4 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2207, allocations: 384 / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.2208, allocations: 12.38 kB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.2211, allocations: 125.7 kB / 0.902 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2211, allocations: 3.938 kB / 0.902 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.2211, allocations: 8 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2211, allocations: 0 / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.2213, allocations: 63.95 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.2215, allocations: 153.7 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2217, allocations: 114.6 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2219, allocations: 104.9 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.2219, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2219, allocations: 42.48 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.222, allocations: 0 / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0007254/0.2227, allocations: 291.1 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.2228, allocations: 93.09 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2229, allocations: 133.5 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.223, allocations: 25.7 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.223, allocations: 88.14 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.2231, allocations: 19.75 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.2231, allocations: 4 kB / 0.9031 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.2232, allocations: 318.9 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2233, allocations: 63.95 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2235, allocations: 59.94 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2237, allocations: 89.59 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2237, allocations: 0 / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004858/0.2242, allocations: 227.2 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.2242, allocations: 45.69 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2243, allocations: 0 / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.2243, allocations: 0 / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.2243, allocations: 8.062 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2243, allocations: 0 / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.2248, allocations: 23.88 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.2249, allocations: 15.98 kB / 0.9039 GB, free: 60.63 MB / 0.6042 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.0001621/0.225, allocations: 163.5 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.2251, allocations: 15.84 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.2251, allocations: 8.375 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2251, allocations: 4 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2252, allocations: 4 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2252, allocations: 3.984 kB / 0.9041 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2253, allocations: 165.6 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2253, allocations: 256 / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.2253, allocations: 7.938 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2253, allocations: 4 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.2254, allocations: 11.98 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2254, allocations: 0 / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2254, allocations: 3.938 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.226, allocations: 290.6 kB / 0.9046 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.2261, allocations: 93.03 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.2261, allocations: 4 kB / 0.9047 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.2265, allocations: 23.91 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.2266, allocations: 11.98 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.2267, allocations: 12 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.2267, allocations: 99.58 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2268, allocations: 0 / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005044/0.2273, allocations: 91.88 kB / 0.9049 GB, free: 59.53 MB / 0.6042 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.001049/0.2283, allocations: 399.8 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.2289, allocations: 295.2 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2289, allocations: 0 / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.2292, allocations: 211.3 kB / 0.9058 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2295, allocations: 11.94 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/0.2303, allocations: 302.8 kB / 0.9061 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2305, allocations: 0.6809 MB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.887e-05/0.2306, allocations: 51.86 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.2306, allocations: 7.438 kB / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.512e-06/0.2306, allocations: 0 / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.009992/0.2406, allocations: 3.837 MB / 0.9105 GB, free: 53.79 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)