Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001163/0.001163, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001282/0.001282, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005428, allocations: 18.62 kB / 0.6735 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2286, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00702/0.2356, allocations: 5.698 MB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6469/0.8826, allocations: 132 MB / 0.9216 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009888/0.8836, allocations: 32.44 kB / 0.9216 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.888, allocations: 1.425 MB / 0.923 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.8911, allocations: 0.9575 MB / 0.924 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.8941, allocations: 0.9839 MB / 0.9249 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.8979, allocations: 2.619 MB / 0.9275 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.8993, allocations: 0.8909 MB / 0.9283 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.9024, allocations: 1.238 MB / 0.9295 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.9047, allocations: 1.012 MB / 0.9305 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.905, allocations: 63.84 kB / 0.9306 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.9091, allocations: 1.713 MB / 0.9323 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003456/0.9126, allocations: 2.834 MB / 0.935 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002431/0.915, allocations: 0.7655 MB / 0.9358 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.9254, allocations: 8.796 MB / 0.9444 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.9254, allocations: 0 / 0.9444 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.935e-06/0.9254, allocations: 0 / 0.9444 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002247/0.9256, allocations: 4 kB / 0.9444 GB, free: 19.8 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.01779/0.9434, allocations: 6.603 MB / 0.9508 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.9435, allocations: 9.5 kB / 0.9508 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.948, allocations: 0.592 MB / 0.9514 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2369/1.185, allocations: 255.5 MB / 1.201 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/1.185, allocations: 126.7 kB / 1.201 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008018/1.186, allocations: 183.9 kB / 1.201 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004168/1.19, allocations: 1.667 MB / 1.203 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.19, allocations: 2.438 kB / 1.203 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/1.19, allocations: 60 kB / 1.203 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/1.19, allocations: 36 kB / 1.203 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/1.194, allocations: 1.73 MB / 1.205 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07245/1.266, allocations: 69.58 MB / 1.273 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/1.269, allocations: 1.466 MB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/1.27, allocations: 44.06 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/1.271, allocations: 0.9261 MB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=105): time 3.526e-06/1.271, allocations: 0 / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=105): time 0.00897/1.28, allocations: 3.113 MB / 1.278 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/1.281, allocations: 342.5 kB / 1.278 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8009/2.081, allocations: 316 MB / 1.587 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006138/2.082, allocations: 57.7 kB / 1.587 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004239/2.086, allocations: 2.201 MB / 1.589 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006005/2.087, allocations: 357.8 kB / 1.589 GB, free: 109.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/2.087, allocations: 36 kB / 1.589 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002435/2.088, allocations: 389.9 kB / 1.59 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/2.09, allocations: 1.307 MB / 1.591 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/2.093, allocations: 1.605 MB / 1.593 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/2.095, allocations: 1.626 MB / 1.594 GB, free: 104.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/2.095, allocations: 0 / 1.594 GB, free: 104.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.009754/2.105, allocations: 3.834 MB / 1.598 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002049/2.105, allocations: 169.6 kB / 1.598 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/2.105, allocations: 4 kB / 1.598 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/2.106, allocations: 95.95 kB / 1.598 GB, free: 100.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/2.107, allocations: 370.8 kB / 1.599 GB, free: 99.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/2.109, allocations: 1.542 MB / 1.6 GB, free: 98.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006371/2.116, allocations: 0.619 MB / 1.601 GB, free: 97.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/2.116, allocations: 86.03 kB / 1.601 GB, free: 97.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 212 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005294/2.122, allocations: 2.148 MB / 1.603 GB, free: 95.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004097/2.126, allocations: 450 kB / 1.603 GB, free: 94.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007044/2.133, allocations: 2.901 MB / 1.606 GB, free: 92.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/2.133, allocations: 12 kB / 1.606 GB, free: 92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.133, allocations: 0 / 1.606 GB, free: 92 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/2.133, allocations: 4.688 kB / 1.606 GB, free: 91.99 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/2.158, allocations: 7.612 MB / 1.614 GB, free: 84.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/2.158, allocations: 0 / 1.614 GB, free: 84.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007967/2.159, allocations: 186.5 kB / 1.614 GB, free: 84.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/2.159, allocations: 84.77 kB / 1.614 GB, free: 84.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/2.159, allocations: 36.89 kB / 1.614 GB, free: 84.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/2.161, allocations: 1.559 MB / 1.615 GB, free: 82.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.161, allocations: 3.828 kB / 1.615 GB, free: 82.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007711/2.169, allocations: 2.61 MB / 1.618 GB, free: 79.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006555/2.175, allocations: 1.76 MB / 1.62 GB, free: 77.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003838/2.179, allocations: 32 kB / 1.62 GB, free: 77.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005426/2.185, allocations: 419.9 kB / 1.62 GB, free: 77.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/2.185, allocations: 84.36 kB / 1.62 GB, free: 77.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/2.185, allocations: 52.59 kB / 1.62 GB, free: 77.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6978/2.883, allocations: 251.6 MB / 1.866 GB, free: 248.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/2.883, allocations: 0 / 1.866 GB, free: 248.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009931/2.893, allocations: 1.327 MB / 1.867 GB, free: 247.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/2.897, allocations: 0.8903 MB / 1.868 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005351/2.902, allocations: 3.856 MB / 1.872 GB, free: 242.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/2.902, allocations: 4 kB / 1.872 GB, free: 242.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/2.904, allocations: 1.679 MB / 1.874 GB, free: 241.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/2.909, allocations: 0.5332 MB / 1.874 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/2.933, allocations: 10.96 MB / 1.885 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006655/2.939, allocations: 3.065 MB / 1.888 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006938/2.946, allocations: 1.676 MB / 1.889 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004172/2.95, allocations: 0.6631 MB / 1.89 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/2.95, allocations: 0 / 1.89 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.2025/3.153, allocations: 164.8 MB / 2.051 GB, free: 60.04 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) Environment - environmentSimulation: