Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001081/0.001081, allocations: 98.38 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.001027/0.001027, allocations: 177.3 kB / 15.94 MB, free: 228 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.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 251.9 MB / 0.51 GB, free: 4.773 MB / 414.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.0005268/0.0005268, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.5631, allocations: 106.3 MB / 0.728 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007219/0.5704, allocations: 5.712 MB / 0.7336 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.7351, allocations: 132 MB / 0.8625 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.7366, allocations: 31.81 kB / 0.8625 GB, free: 1.465 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.7408, allocations: 1.425 MB / 0.8639 GB, free: 36 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.7435, allocations: 0.9533 MB / 0.8648 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.7462, allocations: 0.9971 MB / 0.8658 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004236/0.7505, allocations: 2.609 MB / 0.8683 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.7518, allocations: 0.8894 MB / 0.8692 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.7541, allocations: 1.241 MB / 0.8704 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.7557, allocations: 1.008 MB / 0.8714 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.7559, allocations: 64 kB / 0.8715 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.759, allocations: 1.716 MB / 0.8731 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.7614, allocations: 2.834 MB / 0.8759 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009338/0.7623, allocations: 0.7646 MB / 0.8767 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009777/0.7721, allocations: 8.782 MB / 0.8852 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7721, allocations: 0 / 0.8852 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7722, allocations: 4 kB / 0.8852 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000204/0.7724, allocations: 3.938 kB / 0.8852 GB, free: 10.1 MB / 0.7012 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.01889/0.7913, allocations: 6.613 MB / 0.8917 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.7914, allocations: 12.03 kB / 0.8917 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.7951, allocations: 0.5948 MB / 0.8923 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6633/1.458, allocations: 255.5 MB / 1.142 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.459, allocations: 134.7 kB / 1.142 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/1.459, allocations: 177.8 kB / 1.142 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/1.461, allocations: 1.668 MB / 1.144 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/1.461, allocations: 0 / 1.144 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/1.462, allocations: 60 kB / 1.144 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/1.462, allocations: 33.55 kB / 1.144 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/1.464, allocations: 1.731 MB / 1.146 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06344/1.528, allocations: 69.58 MB / 1.213 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/1.53, allocations: 1.463 MB / 1.215 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.384e-05/1.531, allocations: 39.12 kB / 1.215 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/1.532, allocations: 0.9332 MB / 1.216 GB, free: 384 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=105): time 4.299e-06/1.532, allocations: 3.984 kB / 1.216 GB, free: 380 kB / 0.8419 GB Notification: Performance of matching and sorting (n=105): time 0.007228/1.539, allocations: 3.112 MB / 1.219 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/1.539, allocations: 346.5 kB / 1.219 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7808/2.32, allocations: 315.9 MB / 1.528 GB, free: 24.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004724/2.321, allocations: 61.7 kB / 1.528 GB, free: 24.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002937/2.324, allocations: 2.209 MB / 1.53 GB, free: 22.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/2.324, allocations: 352.7 kB / 1.53 GB, free: 22.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/2.324, allocations: 36 kB / 1.53 GB, free: 22.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001096/2.324, allocations: 385.9 kB / 1.531 GB, free: 21.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/2.326, allocations: 1.312 MB / 1.532 GB, free: 20.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/2.328, allocations: 1.606 MB / 1.534 GB, free: 18.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/2.329, allocations: 1.627 MB / 1.535 GB, free: 17.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/2.329, allocations: 0 / 1.535 GB, free: 17.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.007043/2.337, allocations: 3.824 MB / 1.539 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/2.337, allocations: 171.8 kB / 1.539 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/2.337, allocations: 7.938 kB / 1.539 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/2.337, allocations: 96.11 kB / 1.539 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/2.339, allocations: 367.5 kB / 1.54 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/2.34, allocations: 1.547 MB / 1.541 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/2.344, allocations: 0.6225 MB / 1.542 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/2.345, allocations: 79.98 kB / 1.542 GB, free: 10.37 MB / 0.8575 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.003328/2.348, allocations: 2.139 MB / 1.544 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/2.35, allocations: 450 kB / 1.544 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/2.356, allocations: 2.902 MB / 1.547 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/2.356, allocations: 11.66 kB / 1.547 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.356, allocations: 4 kB / 1.547 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/2.356, allocations: 3.984 kB / 1.547 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5559/2.912, allocations: 7.619 MB / 1.555 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/2.912, allocations: 1.781 kB / 1.555 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/2.912, allocations: 177.2 kB / 1.555 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/2.913, allocations: 87.5 kB / 1.555 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/2.913, allocations: 34.06 kB / 1.555 GB, free: 311.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/2.915, allocations: 1.561 MB / 1.556 GB, free: 310.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/2.915, allocations: 0.625 kB / 1.556 GB, free: 310.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00852/2.923, allocations: 2.614 MB / 1.559 GB, free: 309.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007677/2.931, allocations: 1.762 MB / 1.561 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004614/2.936, allocations: 25.83 kB / 1.561 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006544/2.942, allocations: 418.4 kB / 1.561 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/2.943, allocations: 76.3 kB / 1.561 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/2.943, allocations: 53.89 kB / 1.561 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.1866/3.13, allocations: 251.6 MB / 1.807 GB, free: 66.17 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.51e-07/3.13, allocations: 0 / 1.807 GB, free: 66.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.006197/3.136, allocations: 1.325 MB / 1.808 GB, free: 64.96 MB / 0.8575 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.002675/3.139, allocations: 0.905 MB / 1.809 GB, free: 64.35 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004384/3.143, allocations: 3.859 MB / 1.813 GB, free: 60.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/3.143, allocations: 0 / 1.813 GB, free: 60.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/3.145, allocations: 1.674 MB / 1.814 GB, free: 58.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/3.149, allocations: 0.5232 MB / 1.815 GB, free: 58.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/3.167, allocations: 10.96 MB / 1.826 GB, free: 47.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002462/3.169, allocations: 3.061 MB / 1.829 GB, free: 44.19 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004457/3.174, allocations: 1.664 MB / 1.83 GB, free: 42.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00284/3.176, allocations: 0.6709 MB / 1.831 GB, free: 41.85 MB / 0.8575 GB Notification: Performance of SimCode: time 1.724e-06/3.176, allocations: 0 / 1.831 GB, free: 41.85 MB / 0.8575 GB Notification: Performance of Templates: time 0.6248/3.801, allocations: 164.8 MB / 1.992 GB, free: 200.8 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) Environment - environmentSimulation: