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.001077/0.001077, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.47 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.352, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01024/0.3623, allocations: 8.202 MB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.5458, allocations: 159.5 MB / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.5482, allocations: 39.75 kB / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005836/0.5541, allocations: 1.995 MB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.5586, allocations: 1.267 MB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.5629, allocations: 1.436 MB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006623/0.5695, allocations: 5.442 MB / 1.242 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.5716, allocations: 1.12 MB / 1.243 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.5745, allocations: 1.675 MB / 1.245 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00296/0.5775, allocations: 1.495 MB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.5787, allocations: 276 kB / 1.246 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.5843, allocations: 2.317 MB / 1.249 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6972/1.282, allocations: 2.839 MB / 1.251 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002408/1.284, allocations: 1.401 MB / 1.253 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00757/1.292, allocations: 5.103 MB / 1.258 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.292, allocations: 0 / 1.258 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.292, allocations: 0 / 1.258 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.367e-05/1.292, allocations: 0 / 1.258 GB, free: 13.65 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.006457/1.298, allocations: 3.39 MB / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/1.298, allocations: 10.83 kB / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/1.3, allocations: 358.8 kB / 1.261 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008069/1.308, allocations: 7.406 MB / 1.269 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/1.308, allocations: 141.5 kB / 1.269 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/1.308, allocations: 187.6 kB / 1.269 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/1.312, allocations: 1.957 MB / 1.271 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.312, allocations: 5.875 kB / 1.271 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.312, allocations: 63.56 kB / 1.271 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/1.312, allocations: 36.56 kB / 1.271 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/1.315, allocations: 1.981 MB / 1.273 GB, free: 11.1 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.01398/1.329, allocations: 10.64 MB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/1.332, allocations: 1.789 MB / 1.285 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/1.333, allocations: 1.078 MB / 1.286 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.775e-05/1.334, allocations: 38.02 kB / 1.286 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001607/1.335, allocations: 1.195 MB / 1.287 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 3.276e-06/1.335, allocations: 0.7188 kB / 1.287 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006629/1.342, allocations: 3.463 MB / 1.291 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/1.342, allocations: 347.9 kB / 1.291 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/1.355, allocations: 11.58 MB / 1.302 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006458/1.356, allocations: 71.81 kB / 1.302 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008043/1.356, allocations: 0.9641 MB / 1.303 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/1.357, allocations: 401.2 kB / 1.304 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002074/1.359, allocations: 2.673 MB / 1.306 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/1.359, allocations: 304 kB / 1.307 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/1.375, allocations: 20.11 MB / 1.326 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04555/1.421, allocations: 23.49 MB / 1.349 GB, free: 8.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02415/1.445, allocations: 23.56 MB / 1.372 GB, free: 1.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/1.445, allocations: 0.8438 kB / 1.372 GB, free: 1.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04646/1.492, allocations: 44.23 MB / 1.415 GB, free: 4.938 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002926/1.492, allocations: 165.6 kB / 1.416 GB, free: 4.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/1.492, allocations: 4.812 kB / 1.416 GB, free: 4.766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/1.493, allocations: 96.8 kB / 1.416 GB, free: 4.676 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/1.495, allocations: 405.6 kB / 1.416 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/1.497, allocations: 1.645 MB / 1.418 GB, free: 2.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/1.5, allocations: 239.1 kB / 1.418 GB, free: 2.312 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/1.5, allocations: 106.5 kB / 1.418 GB, free: 2.211 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.00246/1.502, allocations: 1.542 MB / 1.419 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/1.503, allocations: 214 kB / 1.42 GB, free: 488 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/1.508, allocations: 2.943 MB / 1.423 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.508, allocations: 12 kB / 1.423 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.508, allocations: 0.875 kB / 1.423 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.508, allocations: 3.984 kB / 1.423 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/1.511, allocations: 1.798 MB / 1.424 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.511, allocations: 4.062 kB / 1.424 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/1.512, allocations: 178.7 kB / 1.425 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/1.513, allocations: 76.5 kB / 1.425 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.513, allocations: 39.97 kB / 1.425 GB, free: 11.42 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.515, allocations: 1.658 MB / 1.426 GB, free: 9.645 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.515, allocations: 3.938 kB / 1.426 GB, free: 9.641 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/1.519, allocations: 2.773 MB / 1.429 GB, free: 6.844 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008622/1.52, allocations: 0.4888 MB / 1.429 GB, free: 6.336 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/1.521, allocations: 28.84 kB / 1.429 GB, free: 6.309 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009671/1.522, allocations: 81.61 kB / 1.43 GB, free: 6.234 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.522, allocations: 97.98 kB / 1.43 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.522, allocations: 59.97 kB / 1.43 GB, free: 6.078 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006925/1.529, allocations: 7.265 MB / 1.437 GB, free: 14.8 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.9e-07/1.529, allocations: 1.125 kB / 1.437 GB, free: 14.8 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004227/1.533, allocations: 1.385 MB / 1.438 GB, free: 13.42 MB / 1.107 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.002915/1.536, allocations: 0.9499 MB / 1.439 GB, free: 12.76 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02675/1.563, allocations: 27.3 MB / 1.466 GB, free: 1.492 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.563, allocations: 0.9062 kB / 1.466 GB, free: 1.492 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/1.566, allocations: 1.909 MB / 1.468 GB, free: 15.58 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/1.568, allocations: 451.8 kB / 1.468 GB, free: 15.16 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.584, allocations: 11.23 MB / 1.479 GB, free: 4.059 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/1.587, allocations: 3.008 MB / 1.482 GB, free: 1.039 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001998/1.589, allocations: 0.521 MB / 1.482 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/1.59, allocations: 191.4 kB / 1.483 GB, free: 352 kB / 1.139 GB Notification: Performance of SimCode: time 1.343e-06/1.59, allocations: 0 / 1.483 GB, free: 352 kB / 1.139 GB Notification: Performance of Templates: time 0.1003/1.69, allocations: 47.67 MB / 1.529 GB, free: 1.047 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)