Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.554/2.554, allocations: 287.5 MB / 302.5 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001572, allocations: 183.8 kB / 371 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 92.81 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007501/0.0007505, allocations: 11.03 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2759, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9492/1.225, allocations: 140.8 MB / 1.116 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/1.225, allocations: 93.64 kB / 1.116 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0445/1.27, allocations: 10.89 MB / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/1.27, allocations: 0 / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.27, allocations: 0 / 1.127 GB, free: 30.82 MB / 0.698 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.0005494/1.271, allocations: 442.5 kB / 1.127 GB, free: 30.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.271, allocations: 7.688 kB / 1.127 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/1.271, allocations: 11.59 kB / 1.127 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/1.271, allocations: 174.9 kB / 1.127 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/1.271, allocations: 5.953 kB / 1.127 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/1.271, allocations: 7.688 kB / 1.127 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/1.271, allocations: 126.9 kB / 1.127 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.271, allocations: 0 / 1.127 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/1.271, allocations: 3.906 kB / 1.127 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.271, allocations: 4 kB / 1.127 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/1.272, allocations: 67.02 kB / 1.127 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/1.272, allocations: 166 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/1.272, allocations: 116.5 kB / 1.128 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/1.272, allocations: 3.938 kB / 1.128 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.272, allocations: 34.41 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/1.272, allocations: 4 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007461/1.273, allocations: 356.1 kB / 1.128 GB, free: 29.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/1.273, allocations: 87.89 kB / 1.128 GB, free: 29.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/1.273, allocations: 116.9 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/1.273, allocations: 29.58 kB / 1.128 GB, free: 29.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/1.273, allocations: 93.7 kB / 1.128 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/1.273, allocations: 14.91 kB / 1.128 GB, free: 29.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/1.273, allocations: 3.844 kB / 1.128 GB, free: 29.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.273, allocations: 321.2 kB / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/1.274, allocations: 61.45 kB / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.274, allocations: 60.16 kB / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.274, allocations: 93.36 kB / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.274, allocations: 0 / 1.129 GB, free: 29.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005112/1.274, allocations: 215.8 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/1.274, allocations: 43.06 kB / 1.129 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.275, allocations: 0 / 1.129 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.275, allocations: 0 / 1.129 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/1.275, allocations: 0 / 1.129 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.275, allocations: 0 / 1.129 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/1.275, allocations: 18.44 kB / 1.129 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/1.275, allocations: 20.31 kB / 1.129 GB, free: 28.94 MB / 0.698 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.0002397/1.275, allocations: 165.9 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/1.275, allocations: 14.17 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/1.275, allocations: 8.25 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.275, allocations: 0 / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.275, allocations: 0 / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.275, allocations: 0 / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/1.276, allocations: 183 kB / 1.13 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.276, allocations: 3.938 kB / 1.13 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/1.276, allocations: 3.141 kB / 1.13 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.455e-05/1.276, allocations: 384 / 1.13 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/1.276, allocations: 9.938 kB / 1.13 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/1.276, allocations: 3.875 kB / 1.13 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/1.276, allocations: 4.188 kB / 1.13 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/1.276, allocations: 277.5 kB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/1.276, allocations: 98.17 kB / 1.13 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/1.277, allocations: 7.812 kB / 1.13 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/1.277, allocations: 10.42 kB / 1.13 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/1.277, allocations: 13.11 kB / 1.13 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/1.277, allocations: 14.55 kB / 1.13 GB, free: 28.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.649e-05/1.277, allocations: 91.36 kB / 1.13 GB, free: 28.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.277, allocations: 0 / 1.13 GB, free: 28.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005661/1.278, allocations: 108.7 kB / 1.13 GB, free: 28.27 MB / 0.698 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.001063/1.279, allocations: 415 kB / 1.131 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005548/1.279, allocations: 286.3 kB / 1.131 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.279, allocations: 0 / 1.131 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/1.28, allocations: 213 kB / 1.131 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/1.28, allocations: 3.906 kB / 1.131 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/1.281, allocations: 0.52 MB / 1.132 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/1.282, allocations: 0.6846 MB / 1.132 GB, free: 27.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.264e-05/1.282, allocations: 46.81 kB / 1.132 GB, free: 27.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/1.282, allocations: 11.34 kB / 1.132 GB, free: 27.07 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.282, allocations: 4 kB / 1.132 GB, free: 27.07 MB / 0.698 GB Notification: Performance of Templates: time 0.01357/1.296, allocations: 3.841 MB / 1.136 GB, free: 25.13 MB / 0.698 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)