Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.013/5.013, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002561/0.002561, allocations: 362 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.141/4.141, allocations: 410.7 MB / 1.113 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00185/0.00185, allocations: 191.6 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004916, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7369, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.9399, allocations: 141.2 MB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.9403, allocations: 98.41 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04595/0.9863, allocations: 11.55 MB / 1.611 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9863, allocations: 0.6562 kB / 1.611 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.9863, allocations: 4 kB / 1.611 GB, free: 131.5 MB / 0.8542 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.000487/0.9868, allocations: 430.5 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9869, allocations: 11.62 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.987, allocations: 11.91 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.9871, allocations: 179.6 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.9871, allocations: 4.594 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.9872, allocations: 4 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.9875, allocations: 122.3 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9875, allocations: 5.281 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.9875, allocations: 4 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9876, allocations: 0 / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.9877, allocations: 60.59 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.9879, allocations: 175 kB / 1.612 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.9881, allocations: 110.6 kB / 1.612 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.9883, allocations: 102.1 kB / 1.612 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.9883, allocations: 4 kB / 1.612 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.9883, allocations: 35.19 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.9884, allocations: 1.25 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0007103/0.9891, allocations: 293.9 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.9891, allocations: 89.94 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.9892, allocations: 121.8 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.9893, allocations: 30.2 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.9893, allocations: 88.72 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.9894, allocations: 15.75 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.9894, allocations: 6.625 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.9895, allocations: 318.8 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.9897, allocations: 63.94 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.9898, allocations: 59.95 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.99, allocations: 90.5 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.99, allocations: 3.938 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004583/0.9905, allocations: 232.8 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.9905, allocations: 45.69 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.9905, allocations: 0 / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.9906, allocations: 0 / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.9906, allocations: 4 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.9906, allocations: 2.5 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.991, allocations: 19.92 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.991, allocations: 11.98 kB / 1.613 GB, free: 128.6 MB / 0.8542 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.0001538/0.9912, allocations: 167.5 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.9912, allocations: 12.47 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.9913, allocations: 9.188 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.9913, allocations: 0 / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.9913, allocations: 0 / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9913, allocations: 0.7812 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.9914, allocations: 177.6 kB / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9914, allocations: 1.062 kB / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.9914, allocations: 0 / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.9915, allocations: 0 / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.9915, allocations: 12.95 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9915, allocations: 0 / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9915, allocations: 4.938 kB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.9921, allocations: 291.5 kB / 1.614 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.9921, allocations: 93.25 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.9922, allocations: 6.281 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.9925, allocations: 19.98 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.9926, allocations: 7.984 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.9927, allocations: 19.98 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.582e-05/0.9927, allocations: 91.27 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9927, allocations: 0.9688 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005304/0.9933, allocations: 115.8 kB / 1.614 GB, free: 127.5 MB / 0.8542 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.001964/0.9953, allocations: 413.2 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.9958, allocations: 295.8 kB / 1.615 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9958, allocations: 0.9688 kB / 1.615 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.9961, allocations: 211.3 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.9964, allocations: 17.36 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.9978, allocations: 0.5361 MB / 1.616 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.998, allocations: 0.6901 MB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.617e-05/0.9981, allocations: 51.09 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.9981, allocations: 16.64 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/0.9981, allocations: 0 / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.009612/1.008, allocations: 3.892 MB / 1.62 GB, free: 121.7 MB / 0.8542 GB