Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 391.2 MB / 407 MB, free: 10.76 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 191.4 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 106.5 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 51.31 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2803, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00676/0.2871, allocations: 6.643 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1467/0.4338, allocations: 157.3 MB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.4352, allocations: 31.81 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005137/0.4404, allocations: 1.791 MB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.4436, allocations: 1.025 MB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.447, allocations: 1.199 MB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.005379/0.4524, allocations: 5.077 MB / 1.387 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.4544, allocations: 1.133 MB / 1.388 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.4572, allocations: 1.393 MB / 1.39 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.4596, allocations: 1.342 MB / 1.391 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0005818/0.4602, allocations: 124 kB / 1.391 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.4642, allocations: 2.079 MB / 1.393 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002591/0.4669, allocations: 2.668 MB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.4691, allocations: 1.157 MB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.008043/0.4772, allocations: 4.748 MB / 1.401 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.4773, allocations: 4 kB / 1.401 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4773, allocations: 0 / 1.401 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002162/0.4775, allocations: 0 / 1.401 GB, free: 8.809 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 370 * Number of variables: 370 Notification: Performance of Generate backend data structure: time 0.009758/0.4873, allocations: 3.23 MB / 1.405 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4873, allocations: 11.98 kB / 1.405 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.4887, allocations: 353.4 kB / 1.405 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008398/0.4971, allocations: 7.358 MB / 1.412 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.4973, allocations: 130.8 kB / 1.412 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/0.4979, allocations: 180 kB / 1.412 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.5021, allocations: 1.884 MB / 1.414 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.5022, allocations: 0 / 1.414 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.5024, allocations: 60 kB / 1.414 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.5024, allocations: 36 kB / 1.414 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/0.5057, allocations: 1.915 MB / 1.416 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5223/1.028, allocations: 9.965 MB / 1.426 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.031, allocations: 1.66 MB / 1.428 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/1.033, allocations: 1.046 MB / 1.429 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.094e-05/1.033, allocations: 36.83 kB / 1.429 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/1.035, allocations: 1.094 MB / 1.43 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=105): time 2.625e-06/1.035, allocations: 1.688 kB / 1.43 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.007276/1.042, allocations: 3.276 MB / 1.433 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002782/1.042, allocations: 345.5 kB / 1.433 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01839/1.061, allocations: 11.52 MB / 1.444 GB, free: 197.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004566/1.061, allocations: 65.8 kB / 1.444 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.062, allocations: 0.9285 MB / 1.445 GB, free: 196.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/1.063, allocations: 376.1 kB / 1.446 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002154/1.065, allocations: 2.657 MB / 1.448 GB, free: 195.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/1.065, allocations: 301.1 kB / 1.449 GB, free: 194.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01307/1.078, allocations: 20.07 MB / 1.468 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01443/1.092, allocations: 20.64 MB / 1.488 GB, free: 157.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/1.108, allocations: 23.49 MB / 1.511 GB, free: 134.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/1.108, allocations: 0 / 1.511 GB, free: 134.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.032/1.14, allocations: 44.11 MB / 1.554 GB, free: 90.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/1.14, allocations: 169.6 kB / 1.555 GB, free: 89.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.14, allocations: 0 / 1.555 GB, free: 89.94 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/1.141, allocations: 89.77 kB / 1.555 GB, free: 89.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.143, allocations: 391.9 kB / 1.555 GB, free: 89.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/1.144, allocations: 1.526 MB / 1.557 GB, free: 87.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.147, allocations: 222.1 kB / 1.557 GB, free: 87.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/1.147, allocations: 108.1 kB / 1.557 GB, free: 87.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (263): * Single equations (assignments): 225 * 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.001784/1.149, allocations: 1.522 MB / 1.558 GB, free: 85.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/1.149, allocations: 201.2 kB / 1.559 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/1.153, allocations: 2.801 MB / 1.561 GB, free: 82.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.153, allocations: 11.69 kB / 1.561 GB, free: 82.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.153, allocations: 0 / 1.561 GB, free: 82.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.153, allocations: 7.969 kB / 1.561 GB, free: 82.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005858/1.159, allocations: 4.62 MB / 1.566 GB, free: 78.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.159, allocations: 0.6094 kB / 1.566 GB, free: 78.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/1.16, allocations: 183.6 kB / 1.566 GB, free: 78.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/1.16, allocations: 81.22 kB / 1.566 GB, free: 78.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/1.16, allocations: 43.36 kB / 1.566 GB, free: 78.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/1.162, allocations: 1.543 MB / 1.568 GB, free: 76.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.162, allocations: 0 / 1.568 GB, free: 76.33 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/1.167, allocations: 4.93 MB / 1.572 GB, free: 71.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007379/1.168, allocations: 466.1 kB / 1.573 GB, free: 70.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/1.168, allocations: 31.94 kB / 1.573 GB, free: 70.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007766/1.169, allocations: 59.94 kB / 1.573 GB, free: 70.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/1.169, allocations: 80.89 kB / 1.573 GB, free: 70.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/1.169, allocations: 67.45 kB / 1.573 GB, free: 70.62 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004231/1.174, allocations: 7.22 MB / 1.58 GB, free: 63.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/1.174, allocations: 0 / 1.58 GB, free: 63.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002807/1.176, allocations: 1.345 MB / 1.581 GB, free: 62.12 MB / 0.9167 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 (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.00234/1.179, allocations: 0.9442 MB / 1.582 GB, free: 61.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.195, allocations: 26.65 MB / 1.608 GB, free: 34.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.195, allocations: 0 / 1.608 GB, free: 34.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.197, allocations: 1.831 MB / 1.61 GB, free: 32.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.2, allocations: 389.8 kB / 1.611 GB, free: 32.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.216, allocations: 13.01 MB / 1.623 GB, free: 19.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002754/1.218, allocations: 3.007 MB / 1.626 GB, free: 16.44 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001775/1.22, allocations: 0.4935 MB / 1.627 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/1.221, allocations: 179.4 kB / 1.627 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of SimCode: time 8.32e-07/1.221, allocations: 0 / 1.627 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of Templates: time 0.09012/1.311, allocations: 45.2 MB / 1.671 GB, free: 2.742 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)