Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009608, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005138/0.005138, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 8 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008614/0.3617, allocations: 7.661 MB / 1.082 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5385, allocations: 152.1 MB / 1.23 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.5407, allocations: 27.81 kB / 1.23 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00528/0.546, allocations: 1.802 MB / 1.232 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.5499, allocations: 1.158 MB / 1.233 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.5535, allocations: 1.248 MB / 1.234 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006097/0.5596, allocations: 5.406 MB / 1.24 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.5614, allocations: 1.067 MB / 1.241 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.564, allocations: 1.303 MB / 1.242 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.5662, allocations: 1.256 MB / 1.243 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.5665, allocations: 68 kB / 1.243 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.5705, allocations: 2.028 MB / 1.245 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002262/0.5727, allocations: 2.598 MB / 1.248 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.5741, allocations: 1.155 MB / 1.249 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7377/1.312, allocations: 4.857 MB / 1.254 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.312, allocations: 0 / 1.254 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.677e-06/1.312, allocations: 0.875 kB / 1.254 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001453/1.312, allocations: 1.812 kB / 1.254 GB, free: 16.14 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.008008/1.32, allocations: 2.844 MB / 1.256 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.32, allocations: 13.19 kB / 1.256 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/1.322, allocations: 369.5 kB / 1.257 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/1.333, allocations: 7.401 MB / 1.264 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.333, allocations: 139.3 kB / 1.264 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/1.334, allocations: 186.1 kB / 1.264 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/1.337, allocations: 1.974 MB / 1.266 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/1.337, allocations: 0 / 1.266 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/1.338, allocations: 60.75 kB / 1.266 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/1.338, allocations: 36.33 kB / 1.266 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/1.341, allocations: 1.993 MB / 1.268 GB, free: 13.77 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/1.36, allocations: 10.72 MB / 1.279 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/1.363, allocations: 1.796 MB / 1.28 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/1.365, allocations: 1.092 MB / 1.281 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.365, allocations: 38.81 kB / 1.282 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001896/1.367, allocations: 1.197 MB / 1.283 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 3.196e-06/1.367, allocations: 0 / 1.283 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.007526/1.374, allocations: 3.468 MB / 1.286 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002043/1.375, allocations: 345.3 kB / 1.286 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01481/1.389, allocations: 11.59 MB / 1.298 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008271/1.39, allocations: 63.52 kB / 1.298 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.391, allocations: 0.9693 MB / 1.299 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/1.392, allocations: 404.2 kB / 1.299 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/1.394, allocations: 2.358 MB / 1.301 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.528e-05/1.394, allocations: 301.1 kB / 1.302 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01758/1.411, allocations: 20.12 MB / 1.321 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0355/1.447, allocations: 22.14 MB / 1.343 GB, free: 15.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02741/1.474, allocations: 23.69 MB / 1.366 GB, free: 9.266 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.64e-05/1.474, allocations: 0 / 1.366 GB, free: 9.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05344/1.528, allocations: 44.54 MB / 1.41 GB, free: 14.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003348/1.528, allocations: 171.5 kB / 1.41 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.528, allocations: 0 / 1.41 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006902/1.529, allocations: 100.4 kB / 1.41 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/1.531, allocations: 407.9 kB / 1.41 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.534, allocations: 1.539 MB / 1.412 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/1.537, allocations: 258.5 kB / 1.412 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/1.537, allocations: 109.9 kB / 1.412 GB, free: 11.64 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002752/1.54, allocations: 1.554 MB / 1.414 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/1.54, allocations: 205.3 kB / 1.414 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005538/1.546, allocations: 2.95 MB / 1.417 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.546, allocations: 12 kB / 1.417 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.546, allocations: 0 / 1.417 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.546, allocations: 3.984 kB / 1.417 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/1.549, allocations: 1.795 MB / 1.418 GB, free: 5.121 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.549, allocations: 4 kB / 1.418 GB, free: 5.117 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/1.55, allocations: 181.9 kB / 1.419 GB, free: 4.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/1.551, allocations: 90.39 kB / 1.419 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.551, allocations: 43.91 kB / 1.419 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/1.553, allocations: 1.554 MB / 1.42 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.553, allocations: 0 / 1.42 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/1.558, allocations: 2.785 MB / 1.423 GB, free: 328 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.559, allocations: 0.5573 MB / 1.424 GB, free: 15.74 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/1.559, allocations: 28 kB / 1.424 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.56, allocations: 102.7 kB / 1.424 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/1.56, allocations: 92.86 kB / 1.424 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.561, allocations: 67.91 kB / 1.424 GB, free: 15.46 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007226/1.568, allocations: 7.265 MB / 1.431 GB, free: 8.176 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.61e-07/1.568, allocations: 0 / 1.431 GB, free: 8.176 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004417/1.572, allocations: 1.386 MB / 1.432 GB, free: 6.801 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002626/1.575, allocations: 0.9536 MB / 1.433 GB, free: 6.102 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02568/1.601, allocations: 26.78 MB / 1.459 GB, free: 11.33 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.601, allocations: 0 / 1.459 GB, free: 11.33 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/1.604, allocations: 1.91 MB / 1.461 GB, free: 9.422 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.606, allocations: 410.4 kB / 1.462 GB, free: 9.023 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.624, allocations: 12.55 MB / 1.474 GB, free: 12.43 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003221/1.627, allocations: 3.009 MB / 1.477 GB, free: 9.395 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002125/1.629, allocations: 0.5211 MB / 1.477 GB, free: 8.871 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000571/1.63, allocations: 187.4 kB / 1.478 GB, free: 8.691 MB / 1.139 GB Notification: Performance of SimCode: time 1.132e-06/1.63, allocations: 0 / 1.478 GB, free: 8.691 MB / 1.139 GB Notification: Performance of Templates: time 0.0833/1.713, allocations: 42.52 MB / 1.519 GB, free: 14.56 MB / 1.186 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)