Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.687/1.687, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001047/0.001047, allocations: 181 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008719/0.0008718, allocations: 90.84 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003964, allocations: 9.5 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2777, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0008828/0.2786, allocations: 274.2 kB / 0.9797 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2807, allocations: 1.188 MB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.2807, allocations: 8 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2809, allocations: 11.88 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.2809, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.2818, allocations: 255.5 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2819, allocations: 47.88 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.282, allocations: 8 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.282, allocations: 47.94 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.2821, allocations: 35.91 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.2821, allocations: 4 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.2826, allocations: 167.7 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.2826, allocations: 4 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.2827, allocations: 29.7 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.283, allocations: 199.7 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.283, allocations: 0 / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/0.283, allocations: 4 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.283, allocations: 3.938 kB / 0.9816 GB, free: 25.41 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.0004713/0.2835, allocations: 425.7 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2836, allocations: 8.031 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.2836, allocations: 8 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2838, allocations: 178.9 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2838, allocations: 4 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.2838, allocations: 8 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.2841, allocations: 125.6 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2841, allocations: 0 / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.2841, allocations: 4 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2841, allocations: 0 / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.2842, allocations: 63.88 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2844, allocations: 169.5 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.2846, allocations: 114.6 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2846, allocations: 0 / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2846, allocations: 38.59 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.2846, allocations: 0 / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005442/0.2852, allocations: 372.3 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2853, allocations: 89.09 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.2854, allocations: 121.7 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2854, allocations: 29.7 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.2854, allocations: 92.08 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.2855, allocations: 19.78 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.2855, allocations: 4.031 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.2856, allocations: 322.8 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.2857, allocations: 59.94 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.2858, allocations: 59.95 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.2859, allocations: 89.66 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2859, allocations: 0 / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002728/0.2862, allocations: 235.1 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.2862, allocations: 41.69 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2862, allocations: 0 / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2863, allocations: 4.062 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.2863, allocations: 0 / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2863, allocations: 3.984 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.2866, allocations: 27.91 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.2867, allocations: 12 kB / 0.9843 GB, free: 22.47 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.0001493/0.2869, allocations: 167.5 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2869, allocations: 11.91 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.2869, allocations: 8.375 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2869, allocations: 4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2869, allocations: 3.984 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2869, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.287, allocations: 173.5 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2871, allocations: 4.359 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-06/0.2871, allocations: 0 / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2871, allocations: 0 / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.2871, allocations: 12.25 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2871, allocations: 7.938 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2871, allocations: 3.984 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.2875, allocations: 298.5 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.2876, allocations: 89.05 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2876, allocations: 4 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.2878, allocations: 23.97 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.2879, allocations: 7.984 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2879, allocations: 19.98 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.2879, allocations: 95.2 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2879, allocations: 0 / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003645/0.2883, allocations: 92.02 kB / 0.9852 GB, free: 21.36 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.0008431/0.2892, allocations: 393.6 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.2895, allocations: 283.2 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2895, allocations: 0 / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2897, allocations: 211.3 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.2898, allocations: 12.06 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.2903, allocations: 250.6 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.2904, allocations: 0.6848 MB / 0.987 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.22e-05/0.2905, allocations: 51.86 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.2906, allocations: 11.44 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2906, allocations: 0 / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.007125/0.2977, allocations: 3.89 MB / 0.9909 GB, free: 15.64 MB / 0.6198 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)