Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.014/3.014, allocations: 287.3 MB / 302.3 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 179 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001179, allocations: 96.25 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008038/0.0008042, allocations: 11.09 kB / 0.8656 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2229, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008324/0.2238, allocations: 277.9 kB / 0.9785 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2257, allocations: 1.192 MB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.2258, allocations: 4 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.623e-05/0.2259, allocations: 7.875 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.997e-05/0.2259, allocations: 0 / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.2267, allocations: 259.4 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.2268, allocations: 47.88 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.2268, allocations: 4 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.2269, allocations: 43.95 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.227, allocations: 39.89 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.227, allocations: 4 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.2275, allocations: 167.7 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.2275, allocations: 4 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2275, allocations: 33.7 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.2279, allocations: 195.7 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2279, allocations: 0 / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2279, allocations: 7.938 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2279, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 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.0003552/0.2283, allocations: 427.2 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2283, allocations: 8.031 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.2284, allocations: 8 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2285, allocations: 182.9 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2285, allocations: 3.984 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2286, allocations: 12 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.2289, allocations: 117.6 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2289, allocations: 4 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.229, allocations: 4 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.229, allocations: 0 / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2291, allocations: 71.88 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.2293, allocations: 165.7 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2295, allocations: 106.5 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.2295, allocations: 0 / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2296, allocations: 42.66 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.2296, allocations: 0 / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006963/0.2303, allocations: 372.2 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.2303, allocations: 85.11 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.2304, allocations: 130 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2305, allocations: 25.7 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.2305, allocations: 92.08 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.2306, allocations: 15.89 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.2306, allocations: 7.938 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.2307, allocations: 322.8 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2308, allocations: 59.94 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.231, allocations: 63.95 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2311, allocations: 85.66 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2312, allocations: 0 / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004534/0.2316, allocations: 231.1 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.2317, allocations: 51.7 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2317, allocations: 0 / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2317, allocations: 0 / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.2317, allocations: 4.062 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2317, allocations: 3.984 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.2322, allocations: 23.92 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.2323, allocations: 15.98 kB / 0.983 GB, free: 23.14 MB / 0.6198 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.0001498/0.2324, allocations: 167.5 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.2325, allocations: 11.91 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.2325, allocations: 4.375 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2325, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2325, allocations: 4 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2325, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.2327, allocations: 181.5 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2327, allocations: 0 / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.2327, allocations: 256 / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2327, allocations: 0 / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.2327, allocations: 15.98 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2328, allocations: 4 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2328, allocations: 0 / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.2333, allocations: 298.5 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.2333, allocations: 85.09 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2334, allocations: 11.98 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.2338, allocations: 15.98 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.2338, allocations: 7.984 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.2339, allocations: 19.98 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.234, allocations: 95.2 kB / 0.9839 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.234, allocations: 3.938 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000472/0.2344, allocations: 91.98 kB / 0.984 GB, free: 22.04 MB / 0.6198 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.001006/0.2355, allocations: 387.5 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.236, allocations: 287.2 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.236, allocations: 0 / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.2363, allocations: 219.3 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.2364, allocations: 4 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.237, allocations: 258.7 kB / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.2371, allocations: 0.6848 MB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.834e-05/0.2372, allocations: 51.86 kB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.2373, allocations: 11.44 kB / 0.9858 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/0.2373, allocations: 0 / 0.9858 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.008971/0.2463, allocations: 3.883 MB / 0.9896 GB, free: 16.31 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)