Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.00207/0.00207, allocations: 174.7 kB / 370.8 MB, free: 10.88 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.247/2.247, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.00163/0.00163, allocations: 88.72 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007199/0.0007202, allocations: 11.31 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2139, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0008097/0.2148, allocations: 281.9 kB / 0.9785 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.2168, allocations: 1.184 MB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.2169, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.217, allocations: 19.86 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.217, allocations: 3.984 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.2178, allocations: 259.4 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.2179, allocations: 43.88 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.218, allocations: 4 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.2181, allocations: 51.94 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.2181, allocations: 35.91 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.2182, allocations: 4 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.2186, allocations: 167.7 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2187, allocations: 7.984 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.2187, allocations: 29.7 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.2191, allocations: 199.7 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2191, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2191, allocations: 3.938 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2191, allocations: 0 / 0.9804 GB, free: 26.12 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.0003889/0.2195, allocations: 427.2 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2195, allocations: 8.031 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.2196, allocations: 4 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2197, allocations: 186.9 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2198, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.2198, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.2201, allocations: 121.6 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2201, allocations: 0 / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.2202, allocations: 4 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2202, allocations: 4 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.2203, allocations: 63.88 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.2205, allocations: 161.6 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.2207, allocations: 114.6 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.2207, allocations: 0 / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2208, allocations: 30.56 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2208, allocations: 0 / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0007924/0.2216, allocations: 380.3 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.2216, allocations: 89.11 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2218, allocations: 130 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.2218, allocations: 29.7 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.2218, allocations: 80.14 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.2219, allocations: 19.84 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.2219, allocations: 7.938 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.222, allocations: 322.8 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2222, allocations: 67.97 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2223, allocations: 55.95 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.2225, allocations: 89.66 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2225, allocations: 0 / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004797/0.223, allocations: 231.1 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.223, allocations: 41.69 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2231, allocations: 7.984 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2231, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.2231, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2231, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.2236, allocations: 23.98 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.2237, allocations: 20.23 kB / 0.983 GB, free: 23.18 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.0001566/0.2239, allocations: 163.5 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.2239, allocations: 15.91 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.224, allocations: 8.375 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.224, allocations: 0 / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.224, allocations: 4 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.224, allocations: 0 / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2241, allocations: 177.5 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2241, allocations: 4 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.2241, allocations: 0 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2242, allocations: 0 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.2242, allocations: 15.98 kB / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2242, allocations: 0 / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2242, allocations: 0 / 0.9834 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.2248, allocations: 290.5 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2248, allocations: 89.09 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.2249, allocations: 12.02 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.2253, allocations: 15.98 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.2254, allocations: 15.98 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.2254, allocations: 11.98 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.2255, allocations: 99.2 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.774e-06/0.2255, allocations: 0 / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005151/0.226, allocations: 95.92 kB / 0.984 GB, free: 22.08 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.001039/0.2271, allocations: 400.1 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005612/0.2277, allocations: 291.2 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2277, allocations: 0 / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.228, allocations: 211.3 kB / 0.9849 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.2281, allocations: 4 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.2287, allocations: 254.7 kB / 0.9851 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2289, allocations: 0.6887 MB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.229, allocations: 43.94 kB / 0.9858 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.229, allocations: 15.42 kB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.229, allocations: 0 / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.009467/0.2385, allocations: 3.828 MB / 0.9896 GB, free: 16.4 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)