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.881/2.881, allocations: 285 MB / 292.5 MB, free: 10.54 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.001441/0.00144, allocations: 188.2 kB / 360.7 MB, free: 7.227 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.175/2.175, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001054, allocations: 100.9 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.95e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.83, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/1.07, allocations: 140 MB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/1.071, allocations: 87.94 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04936/1.12, allocations: 10.72 MB / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/1.12, allocations: 0 / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.637e-06/1.12, allocations: 0 / 1.111 GB, free: 5.664 MB / 0.7136 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.0006371/1.121, allocations: 428.5 kB / 1.111 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.121, allocations: 8.031 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/1.121, allocations: 10.91 kB / 1.111 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/1.121, allocations: 178.1 kB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.121, allocations: 4 kB / 1.111 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/1.121, allocations: 4 kB / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001975/1.122, allocations: 55.95 kB / 1.111 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/1.122, allocations: 117.6 kB / 1.112 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/1.122, allocations: 0 / 1.112 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/1.122, allocations: 4.875 kB / 1.112 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.122, allocations: 7.938 kB / 1.112 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/1.122, allocations: 150.1 kB / 1.112 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/1.122, allocations: 102.9 kB / 1.112 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/1.123, allocations: 96.91 kB / 1.112 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/1.123, allocations: 0 / 1.112 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.123, allocations: 34.56 kB / 1.112 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/1.123, allocations: 0 / 1.112 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007631/1.123, allocations: 187.9 kB / 1.112 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.124, allocations: 89.09 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/1.124, allocations: 124.8 kB / 1.112 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/1.124, allocations: 25.7 kB / 1.112 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/1.124, allocations: 84.14 kB / 1.112 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/1.124, allocations: 19.8 kB / 1.112 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/1.124, allocations: 5.875 kB / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.124, allocations: 318.8 kB / 1.113 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/1.124, allocations: 59.98 kB / 1.113 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/1.124, allocations: 55.95 kB / 1.113 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/1.125, allocations: 67.89 kB / 1.113 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.125, allocations: 0 / 1.113 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006583/1.125, allocations: 189.5 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/1.125, allocations: 46.78 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.125, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.126, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/1.126, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.126, allocations: 4 kB / 1.113 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/1.126, allocations: 19.98 kB / 1.113 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/1.126, allocations: 15.98 kB / 1.113 GB, free: 2.996 MB / 0.7136 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 () * 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.0001909/1.126, allocations: 158.4 kB / 1.113 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/1.126, allocations: 11.91 kB / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/1.126, allocations: 12.56 kB / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.126, allocations: 0 / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.126, allocations: 0 / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/1.126, allocations: 0 / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/1.127, allocations: 155.1 kB / 1.113 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.127, allocations: 4 kB / 1.113 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/1.127, allocations: 0 / 1.113 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.127, allocations: 7.953 kB / 1.114 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/1.127, allocations: 11.98 kB / 1.114 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.127, allocations: 0 / 1.114 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.127, allocations: 0 / 1.114 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/1.127, allocations: 236.9 kB / 1.114 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/1.127, allocations: 89 kB / 1.114 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/1.128, allocations: 11.94 kB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/1.128, allocations: 16.03 kB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/1.128, allocations: 11.98 kB / 1.114 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/1.128, allocations: 15.98 kB / 1.114 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.78e-05/1.128, allocations: 91.27 kB / 1.114 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.447e-06/1.128, allocations: 0 / 1.114 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006159/1.129, allocations: 115.8 kB / 1.114 GB, free: 1.98 MB / 0.7136 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]) * 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.001232/1.13, allocations: 403.4 kB / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006123/1.131, allocations: 275.3 kB / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.131, allocations: 0 / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/1.131, allocations: 211.3 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/1.131, allocations: 5.203 kB / 1.115 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.133, allocations: 453.8 kB / 1.115 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/1.133, allocations: 0.6807 MB / 1.116 GB, free: 36 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001479/1.133, allocations: 59.77 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.133, allocations: 12.84 kB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-06/1.133, allocations: 0 / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.01173/1.145, allocations: 3.789 MB / 1.12 GB, free: 12.27 MB / 0.7292 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)