Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.14/2.14, allocations: 251.3 MB / 266.2 MB, free: 11.5 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.001419/0.001419, allocations: 180.3 kB / 325.8 MB, free: 2.809 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.277/2.277, allocations: 205.4 MB / 0.5767 GB, free: 20.72 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.0009332/0.000933, allocations: 100.4 kB / 0.6813 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005241, allocations: 16.5 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 106.3 MB / 0.8991 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008552/0.2363, allocations: 266.6 kB / 0.8993 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2383, allocations: 1.202 MB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.2384, allocations: 4 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.2385, allocations: 8 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.2385, allocations: 3.984 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0007487/0.2393, allocations: 263.4 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2394, allocations: 59.86 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.2395, allocations: 4 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.2395, allocations: 51.89 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.2396, allocations: 31.91 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.2396, allocations: 4 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.2401, allocations: 191.7 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.2402, allocations: 11.92 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.2402, allocations: 33.7 kB / 0.9011 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.2405, allocations: 195.7 kB / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2406, allocations: 3.938 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2406, allocations: 4 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2406, allocations: 0 / 0.9013 GB, free: 63.1 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.0003701/0.241, allocations: 417.1 kB / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.241, allocations: 16.02 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.2411, allocations: 8.844 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2412, allocations: 176.3 kB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2412, allocations: 4.375 kB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.2413, allocations: 8.375 kB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.2416, allocations: 129.7 kB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2416, allocations: 0 / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.2416, allocations: 0 / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2416, allocations: 0 / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.2418, allocations: 63.95 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.2419, allocations: 158 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.2422, allocations: 118.5 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2424, allocations: 104.9 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.2424, allocations: 0 / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2424, allocations: 34.5 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2424, allocations: 4 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006714/0.2431, allocations: 287.1 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.2432, allocations: 97.03 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.2433, allocations: 129.6 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.2433, allocations: 37.72 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.2434, allocations: 80.14 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.2434, allocations: 19.75 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.2434, allocations: 4 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.2435, allocations: 314.8 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2437, allocations: 63.95 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2438, allocations: 59.94 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.244, allocations: 89.66 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.244, allocations: 0 / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004831/0.2445, allocations: 235.9 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.2446, allocations: 47.72 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2446, allocations: 0 / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2446, allocations: 0 / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.2446, allocations: 7.875 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2446, allocations: 0 / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.2451, allocations: 23.88 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.2452, allocations: 19.98 kB / 0.904 GB, free: 60.15 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.0001464/0.2453, allocations: 155.5 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.2454, allocations: 23.88 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.2454, allocations: 12.36 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2454, allocations: 0 / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2454, allocations: 0 / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2454, allocations: 3.984 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2456, allocations: 169.6 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2456, allocations: 0 / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.2456, allocations: 3.938 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2456, allocations: 0 / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2456, allocations: 15.98 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2456, allocations: 4 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2457, allocations: 0 / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.2462, allocations: 286.6 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.2462, allocations: 92.97 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.2463, allocations: 7.938 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.2467, allocations: 23.97 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.2468, allocations: 11.94 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.2468, allocations: 20.02 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.2469, allocations: 91.27 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2469, allocations: 0 / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000462/0.2473, allocations: 95.88 kB / 0.9049 GB, free: 59.04 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.001055/0.2484, allocations: 390.9 kB / 0.9053 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.2489, allocations: 287.3 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.249, allocations: 4.062 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.2493, allocations: 215.3 kB / 0.9058 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.2495, allocations: 11.94 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/0.2502, allocations: 294.6 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2503, allocations: 0.6809 MB / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.645e-05/0.2505, allocations: 59.92 kB / 0.9068 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.2505, allocations: 7.438 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of SimCode: time 6.92e-07/0.2505, allocations: 0 / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.009086/0.2596, allocations: 3.896 MB / 0.9106 GB, free: 53.26 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)