Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6741/0.6741, allocations: 117.9 MB / 133.9 MB, free: 4.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 185.3 kB / 161.7 MB, free: 2.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 394.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007758/0.0007759, allocations: 95.22 kB / 470.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004061, allocations: 16 kB / 0.5423 GB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3959, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.5416, allocations: 106.2 MB / 0.7188 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.5419, allocations: 55.97 kB / 0.7189 GB, free: 11.7 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/BoundaryConditions/Weather/CombiTable1Ds_ForStepMeteo.mo:90:5-91:64:writable] Warning: Unused input variable tableAvailable in function .BuildSysPro.BoundaryConditions.Weather.CombiTable1Ds_ForStepMeteo$meteofile$combiTimeTable.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/BoundaryConditions/Weather/CombiTable1Ds_ForStepMeteo.mo:63:5-64:64:writable] Warning: Unused input variable tableAvailable in function .BuildSysPro.BoundaryConditions.Weather.CombiTable1Ds_ForStepMeteo$meteofile$combiTimeTable.getTableValue. Notification: Performance of FrontEnd - DAE generated: time 0.04427/0.5862, allocations: 15.13 MB / 0.7336 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.247e-06/0.5862, allocations: 0 / 0.7336 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.027e-05/0.5863, allocations: 19.98 kB / 0.7337 GB, free: 12.53 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002379/0.5887, allocations: 0.9948 MB / 0.7346 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5888, allocations: 12.03 kB / 0.7346 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.5892, allocations: 84 kB / 0.7347 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5903, allocations: 0.4977 MB / 0.7352 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5904, allocations: 91.56 kB / 0.7353 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.5906, allocations: 56.38 kB / 0.7353 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.5923, allocations: 0.7864 MB / 0.7361 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.5924, allocations: 3.984 kB / 0.7361 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.5924, allocations: 28 kB / 0.7361 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.5925, allocations: 16 kB / 0.7362 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.5944, allocations: 0.774 MB / 0.7369 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.599, allocations: 2.722 MB / 0.7396 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.6005, allocations: 0.6886 MB / 0.7402 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/0.6014, allocations: 434.7 kB / 0.7407 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006796/0.6021, allocations: 0.5117 MB / 0.7412 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.6022, allocations: 39 kB / 0.7412 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=62): time 4.629e-06/0.6022, allocations: 0 / 0.7412 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=62): time 0.004777/0.607, allocations: 1.539 MB / 0.7427 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.6071, allocations: 144.9 kB / 0.7428 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/0.6079, allocations: 469.8 kB / 0.7433 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.6079, allocations: 37.7 kB / 0.7433 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.6082, allocations: 312.3 kB / 0.7436 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.6084, allocations: 209 kB / 0.7438 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.6084, allocations: 12 kB / 0.7438 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6086, allocations: 366.7 kB / 0.7442 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.6093, allocations: 297 kB / 0.7445 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.6101, allocations: 387.1 kB / 0.7448 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3853/0.9954, allocations: 1.772 MB / 0.7466 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.9954, allocations: 0.7812 kB / 0.7466 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00296/0.9984, allocations: 1.05 MB / 0.7476 GB, free: 117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.9985, allocations: 65.75 kB / 0.7477 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002809/1.001, allocations: 0.9839 MB / 0.7486 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008593/1.002, allocations: 306.9 kB / 0.7489 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/1.003, allocations: 116.7 kB / 0.749 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/1.007, allocations: 2.23 MB / 0.7512 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/1.007, allocations: 70.39 kB / 0.7513 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/1.008, allocations: 25 kB / 0.7513 GB, free: 115.6 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: PI1.x:VARIABLE(start = PI1.x_start fixed = true ) "State of block" type: Real R3C2_1.Ts.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Tint.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005702/1.008, allocations: 299.7 kB / 0.7516 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/1.008, allocations: 60.52 kB / 0.7516 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/1.011, allocations: 1.078 MB / 0.7527 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.011, allocations: 8.062 kB / 0.7527 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.011, allocations: 2.031 kB / 0.7527 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.011, allocations: 3.688 kB / 0.7527 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.012, allocations: 0.7655 MB / 0.7534 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002619/1.015, allocations: 0.9657 MB / 0.7544 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/1.015, allocations: 86.47 kB / 0.7545 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007762/1.016, allocations: 299.7 kB / 0.7548 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/1.016, allocations: 18.56 kB / 0.7548 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00444/1.021, allocations: 2.228 MB / 0.757 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.021, allocations: 0.5625 kB / 0.757 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/1.024, allocations: 1.59 MB / 0.7585 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/1.025, allocations: 225.3 kB / 0.7587 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/1.025, allocations: 16.41 kB / 0.7587 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/1.025, allocations: 41.2 kB / 0.7588 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.025, allocations: 65.31 kB / 0.7588 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/1.025, allocations: 21.34 kB / 0.7589 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003667/1.026, allocations: 338.7 kB / 0.7592 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/1.026, allocations: 0.5625 kB / 0.7592 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008126/1.026, allocations: 259.7 kB / 0.7594 GB, free: 112.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/1.028, allocations: 0.5551 MB / 0.76 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001912/1.029, allocations: 1.108 MB / 0.7611 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.03, allocations: 0 / 0.7611 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/1.031, allocations: 0.6909 MB / 0.7617 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/1.031, allocations: 80.23 kB / 0.7618 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/1.033, allocations: 1.812 MB / 0.7636 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/1.034, allocations: 0.9405 MB / 0.7645 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003782/1.034, allocations: 123.2 kB / 0.7646 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/1.034, allocations: 56.03 kB / 0.7647 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/1.034, allocations: 0 / 0.7647 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.01341/1.048, allocations: 9.192 MB / 0.7736 GB, free: 106.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile (rm -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.sim & ./BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)