Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample.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.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample") translateModel(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample") [/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.7908/0.7908, allocations: 117.9 MB / 133.9 MB, free: 9.227 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.00102/0.00102, allocations: 183.7 kB / 161.7 MB, free: 14 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 394.8 MB, free: 10.02 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.0008493/0.0008492, allocations: 86.91 kB / 470.1 MB, free: 29.05 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004097, allocations: 12 kB / 0.5423 GB, free: 9.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 74.53 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5574/0.7438, allocations: 110.6 MB / 0.7231 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.7441, allocations: 64.7 kB / 0.7232 GB, free: 25.51 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.1173/0.8614, allocations: 41.99 MB / 0.7642 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8614, allocations: 0 / 0.7642 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003348/0.8618, allocations: 48 kB / 0.7643 GB, free: 8.59 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.01083/0.8726, allocations: 2.991 MB / 0.7672 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.8727, allocations: 8.031 kB / 0.7672 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.8748, allocations: 325.2 kB / 0.7675 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004974/0.8798, allocations: 1.606 MB / 0.7691 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006941/0.8805, allocations: 0.558 MB / 0.7696 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009278/0.8814, allocations: 190.4 kB / 0.7698 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00902/0.8905, allocations: 2.736 MB / 0.7725 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.949e-05/0.8906, allocations: 0 / 0.7725 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006036/0.8912, allocations: 82.06 kB / 0.7725 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-05/0.8913, allocations: 48 kB / 0.7726 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.8977, allocations: 2.475 MB / 0.775 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.9157, allocations: 7.25 MB / 0.7821 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005709/0.9215, allocations: 2.889 MB / 0.7849 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003243/0.9248, allocations: 2.068 MB / 0.7869 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007226/0.9255, allocations: 0.5311 MB / 0.7874 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.312e-05/0.9256, allocations: 51.88 kB / 0.7875 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 5.53e-06/0.9256, allocations: 0 / 0.7875 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of matching and sorting (n=239): time 0.01285/0.9385, allocations: 5.366 MB / 0.7927 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003034/0.9388, allocations: 485.1 kB / 0.7932 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/0.943, allocations: 1.78 MB / 0.7949 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004308/0.9435, allocations: 61.69 kB / 0.795 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/0.9444, allocations: 0.9919 MB / 0.796 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.9455, allocations: 0.7583 MB / 0.7967 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.9459, allocations: 36 kB / 0.7967 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002623/0.9461, allocations: 394.2 kB / 0.7971 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.949, allocations: 1.239 MB / 0.7983 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.952, allocations: 1.476 MB / 0.7998 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006163/0.9581, allocations: 3.319 MB / 0.803 GB, free: 2.145 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.9582, allocations: 4 kB / 0.803 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.008723/0.9669, allocations: 3.722 MB / 0.8066 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003778/0.9674, allocations: 403.1 kB / 0.807 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008434/0.9758, allocations: 4.196 MB / 0.8111 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.9772, allocations: 462.1 kB / 0.8116 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.9785, allocations: 259.6 kB / 0.8118 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008683/0.9872, allocations: 6.041 MB / 0.8177 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.9902, allocations: 277.9 kB / 0.818 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007429/0.991, allocations: 95.97 kB / 0.8181 GB, free: 2.105 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: scenarioRT.ConsoECS:VARIABLE(fixed = true ) "Hot water consumption at 40°C [L]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 (vitrageNord.ouverture_internal,vitrageSud.ouverture_internal,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 9,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003059/0.9941, allocations: 0.941 MB / 0.819 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.9953, allocations: 245.1 kB / 0.8192 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.006, allocations: 4.416 MB / 0.8235 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/1.006, allocations: 15.94 kB / 0.8235 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/1.006, allocations: 8 kB / 0.8236 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.006, allocations: 3.984 kB / 0.8236 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.021, allocations: 7.203 MB / 0.8306 GB, free: 4.984 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007576/1.029, allocations: 4.006 MB / 0.8345 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000897/1.03, allocations: 175.7 kB / 0.8347 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/1.031, allocations: 470.1 kB / 0.8351 GB, free: 280 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/1.032, allocations: 67.97 kB / 0.8352 GB, free: 212 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008609/1.04, allocations: 6.033 MB / 0.8411 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.04, allocations: 12.25 kB / 0.8411 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.054, allocations: 6.686 MB / 0.8476 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.056, allocations: 0.6382 MB / 0.8482 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007975/1.057, allocations: 51.98 kB / 0.8483 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.059, allocations: 135.8 kB / 0.8484 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006817/1.06, allocations: 185 kB / 0.8486 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.06, allocations: 83.95 kB / 0.8487 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003104/1.063, allocations: 1.216 MB / 0.8499 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/1.063, allocations: 0 / 0.8499 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003679/1.067, allocations: 0.7913 MB / 0.8506 GB, free: 15.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (scenarioRT.ConsoECS) * Number of discrete variables: 11 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 10,(2,100.0%) 8,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/1.069, allocations: 0.6973 MB / 0.8513 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.08, allocations: 7.391 MB / 0.8585 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.08, allocations: 4.062 kB / 0.8585 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.007551/1.088, allocations: 5.875 MB / 0.8643 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/1.092, allocations: 274.1 kB / 0.8645 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.108, allocations: 6.142 MB / 0.8705 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/1.111, allocations: 1.692 MB / 0.8722 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002686/1.114, allocations: 360.2 kB / 0.8725 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/1.115, allocations: 127.4 kB / 0.8727 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of SimCode: time 1.433e-06/1.115, allocations: 0 / 0.8727 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of Templates: time 0.3856/1.5, allocations: 31.73 MB / 0.9036 GB, free: 153.8 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample.makefile (rm -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample.pipe >> ../files/BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample.sim & ./BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample.pipe 2>&1)