Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.317/2.317, allocations: 252.6 MB / 265.2 MB, free: 5.684 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 171.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.5753 GB, free: 10.5 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 94.64 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.441e-05, allocations: 11.94 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1903, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.867/1.057, allocations: 134.4 MB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.058, allocations: 87 kB / 1.026 GB, free: 100 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04824/1.106, allocations: 10.72 MB / 1.037 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.634e-06/1.106, allocations: 4 kB / 1.037 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.106, allocations: 0 / 1.037 GB, free: 7.246 MB / 0.6511 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.0005491/1.107, allocations: 426.7 kB / 1.037 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/1.107, allocations: 8.031 kB / 1.037 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/1.107, allocations: 15.86 kB / 1.037 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.107, allocations: 174.6 kB / 1.037 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/1.107, allocations: 4 kB / 1.037 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/1.107, allocations: 8 kB / 1.037 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/1.107, allocations: 128.4 kB / 1.037 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/1.107, allocations: 0 / 1.037 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/1.107, allocations: 0 / 1.037 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/1.107, allocations: 0 / 1.037 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/1.108, allocations: 59.02 kB / 1.037 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/1.108, allocations: 165.4 kB / 1.038 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/1.108, allocations: 116 kB / 1.038 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/1.108, allocations: 104.6 kB / 1.038 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/1.108, allocations: 4 kB / 1.038 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.108, allocations: 34.56 kB / 1.038 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 3.657e-06/1.108, allocations: 3.984 kB / 1.038 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000587/1.109, allocations: 212.4 kB / 1.038 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/1.109, allocations: 85.11 kB / 1.038 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.109, allocations: 131.7 kB / 1.038 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/1.109, allocations: 29.7 kB / 1.038 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/1.109, allocations: 83.52 kB / 1.038 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/1.109, allocations: 19.09 kB / 1.038 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/1.109, allocations: 4 kB / 1.038 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.109, allocations: 318.8 kB / 1.039 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/1.11, allocations: 58.09 kB / 1.039 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/1.11, allocations: 61.77 kB / 1.039 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/1.11, allocations: 87.27 kB / 1.039 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.11, allocations: 0 / 1.039 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000509/1.111, allocations: 211 kB / 1.039 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/1.111, allocations: 44.19 kB / 1.039 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.111, allocations: 64 / 1.039 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.111, allocations: 4 kB / 1.039 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/1.111, allocations: 0 / 1.039 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.111, allocations: 0 / 1.039 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/1.111, allocations: 23.89 kB / 1.039 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/1.111, allocations: 23.36 kB / 1.039 GB, free: 4.594 MB / 0.6511 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.0001716/1.111, allocations: 154.6 kB / 1.039 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.111, allocations: 15.84 kB / 1.039 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/1.111, allocations: 4.625 kB / 1.039 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.111, allocations: 4 kB / 1.039 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.111, allocations: 0 / 1.039 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.111, allocations: 0 / 1.039 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/1.112, allocations: 176.9 kB / 1.04 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.112, allocations: 0 / 1.04 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/1.112, allocations: 0 / 1.04 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.112, allocations: 0 / 1.04 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/1.112, allocations: 15.48 kB / 1.04 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/1.112, allocations: 4 kB / 1.04 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.112, allocations: 0 / 1.04 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/1.112, allocations: 276.4 kB / 1.04 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/1.112, allocations: 91.94 kB / 1.04 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/1.113, allocations: 4 kB / 1.04 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/1.113, allocations: 15.98 kB / 1.04 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/1.113, allocations: 11.92 kB / 1.04 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/1.113, allocations: 15.25 kB / 1.04 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.432e-05/1.113, allocations: 94.58 kB / 1.04 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.113, allocations: 8.031 kB / 1.04 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005576/1.114, allocations: 110.4 kB / 1.04 GB, free: 3.559 MB / 0.6511 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.00111/1.115, allocations: 402.3 kB / 1.041 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005964/1.115, allocations: 287.9 kB / 1.041 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.115, allocations: 0 / 1.041 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/1.116, allocations: 213.8 kB / 1.041 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/1.116, allocations: 16.08 kB / 1.041 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/1.118, allocations: 460.7 kB / 1.042 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.118, allocations: 0.6887 MB / 1.042 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000126/1.118, allocations: 47.88 kB / 1.042 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/1.118, allocations: 11.44 kB / 1.042 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.001e-06/1.118, allocations: 0 / 1.042 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.01103/1.129, allocations: 3.841 MB / 1.046 GB, free: 13.85 MB / 0.6667 GB