Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.588/3.588, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002122/0.002122, allocations: 171.6 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.981/3.981, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 91.78 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007651/0.0007652, allocations: 12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3458, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.344/0.6899, allocations: 134.5 MB / 1.031 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005326/0.6905, allocations: 95.92 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.07796/0.7685, allocations: 10.97 MB / 1.042 GB, free: 15.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.018e-06/0.7685, allocations: 0 / 1.042 GB, free: 15.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.7686, allocations: 0 / 1.042 GB, free: 15.79 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.0009526/0.7695, allocations: 445 kB / 1.042 GB, free: 15.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.7696, allocations: 8.031 kB / 1.042 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.7698, allocations: 16.84 kB / 1.042 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.7701, allocations: 172.4 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.7701, allocations: 384 / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.7702, allocations: 12.38 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.7707, allocations: 126.1 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7708, allocations: 4.188 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.7708, allocations: 3.938 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-06/0.7709, allocations: 0 / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.7712, allocations: 67.94 kB / 1.042 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.7715, allocations: 153.7 kB / 1.043 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.7719, allocations: 118.5 kB / 1.043 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.7723, allocations: 108.8 kB / 1.043 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.7723, allocations: 0 / 1.043 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.7723, allocations: 30.56 kB / 1.043 GB, free: 14.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.7724, allocations: 0 / 1.043 GB, free: 14.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001212/0.7736, allocations: 295 kB / 1.043 GB, free: 14.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.7738, allocations: 93.09 kB / 1.043 GB, free: 13.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.7741, allocations: 125.7 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.209e-05/0.7742, allocations: 29.7 kB / 1.043 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.7742, allocations: 88.17 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.7744, allocations: 19.75 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.7744, allocations: 4 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.7746, allocations: 318.8 kB / 1.044 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.7749, allocations: 63.95 kB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.7752, allocations: 59.94 kB / 1.044 GB, free: 13.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.7755, allocations: 85.66 kB / 1.044 GB, free: 13.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7756, allocations: 384 / 1.044 GB, free: 13.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008986/0.7765, allocations: 227.3 kB / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.7766, allocations: 45.69 kB / 1.044 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.7767, allocations: 3.938 kB / 1.044 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.7767, allocations: 7.938 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.7767, allocations: 0 / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7768, allocations: 0 / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.7773, allocations: 19.89 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7775, allocations: 11.98 kB / 1.044 GB, free: 12.83 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.0003958/0.7779, allocations: 163.5 kB / 1.044 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.778, allocations: 15.91 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.7781, allocations: 16.31 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7781, allocations: 0 / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7781, allocations: 3.938 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7781, allocations: 0 / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.7784, allocations: 173.8 kB / 1.045 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.7784, allocations: 4 kB / 1.045 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.7785, allocations: 0 / 1.045 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.7785, allocations: 0 / 1.045 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.7785, allocations: 15.92 kB / 1.045 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7786, allocations: 0 / 1.045 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7786, allocations: 4 kB / 1.045 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.7797, allocations: 290.6 kB / 1.045 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.7798, allocations: 89.03 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.7799, allocations: 15.92 kB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.7805, allocations: 11.98 kB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.7806, allocations: 12 kB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/0.7807, allocations: 11.98 kB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000141/0.7808, allocations: 99.3 kB / 1.045 GB, free: 11.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.11e-07/0.7809, allocations: 3.938 kB / 1.045 GB, free: 11.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001018/0.7819, allocations: 107.8 kB / 1.045 GB, free: 11.7 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.0019/0.7839, allocations: 419.3 kB / 1.046 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.785, allocations: 291.2 kB / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.785, allocations: 64 / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.7856, allocations: 215.3 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.7861, allocations: 8 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.7889, allocations: 0.5179 MB / 1.047 GB, free: 10.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.7894, allocations: 0.6809 MB / 1.047 GB, free: 9.602 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.7896, allocations: 47.92 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.7897, allocations: 7.438 kB / 1.047 GB, free: 9.547 MB / 0.698 GB Notification: Performance of SimCode: time 1.853e-06/0.7897, allocations: 0 / 1.047 GB, free: 9.547 MB / 0.698 GB Notification: Performance of Templates: time 0.01975/0.8095, allocations: 3.842 MB / 1.051 GB, free: 5.73 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)