Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 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.001231/0.001231, allocations: 197.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5957/0.5957, allocations: 95.49 MB / 365.2 MB, free: 9.895 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 71.91 kB / 445.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3397, allocations: 69.09 MB / 0.5024 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004275/0.344, allocations: 2.962 MB / 0.5053 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3455, allocations: 0.8187 MB / 0.5061 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.3457, allocations: 7.938 kB / 0.5061 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.3459, allocations: 55.39 kB / 0.5061 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.3462, allocations: 134.8 kB / 0.5063 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.3466, allocations: 163.7 kB / 0.5064 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.347, allocations: 0.4951 MB / 0.5069 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.3474, allocations: 210.2 kB / 0.5071 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.3476, allocations: 187.2 kB / 0.5073 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.3479, allocations: 230.9 kB / 0.5075 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.3479, allocations: 36 kB / 0.5075 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.348, allocations: 36 kB / 0.5076 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.3481, allocations: 95.67 kB / 0.5077 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.3483, allocations: 222.8 kB / 0.5079 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3486, allocations: 432.3 kB / 0.5083 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3486, allocations: 0 / 0.5083 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3486, allocations: 0 / 0.5083 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.3486, allocations: 4 kB / 0.5083 GB, free: 11.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001152/0.3498, allocations: 0.7366 MB / 0.509 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3498, allocations: 15.98 kB / 0.509 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.3499, allocations: 48.38 kB / 0.5091 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3503, allocations: 327.2 kB / 0.5094 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3503, allocations: 29.38 kB / 0.5094 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.3503, allocations: 32.38 kB / 0.5094 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.3509, allocations: 381.2 kB / 0.5098 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3509, allocations: 0 / 0.5098 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.3509, allocations: 16 kB / 0.5098 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3509, allocations: 8 kB / 0.5098 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.3514, allocations: 282.3 kB / 0.5101 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3529, allocations: 1.448 MB / 0.5115 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.3534, allocations: 279.5 kB / 0.5118 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.3538, allocations: 177.2 kB / 0.5119 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3538, allocations: 4.234 kB / 0.5119 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3538, allocations: 38.73 kB / 0.512 GB, free: 7.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.3538, allocations: 4 kB / 0.512 GB, free: 7.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.002806/0.3567, allocations: 0.8789 MB / 0.5128 GB, free: 6.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3567, allocations: 55.41 kB / 0.5129 GB, free: 6.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.357, allocations: 369.6 kB / 0.5133 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3571, allocations: 29.7 kB / 0.5133 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3572, allocations: 208.3 kB / 0.5135 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.3572, allocations: 106.5 kB / 0.5136 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.3573, allocations: 57.89 kB / 0.5136 GB, free: 5.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.3574, allocations: 346.8 kB / 0.514 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.3576, allocations: 101.9 kB / 0.5141 GB, free: 5.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.3579, allocations: 159.9 kB / 0.5142 GB, free: 4.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3583, allocations: 261.8 kB / 0.5145 GB, free: 4.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3583, allocations: 0 / 0.5145 GB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001018/0.3593, allocations: 497.3 kB / 0.5149 GB, free: 4.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3593, allocations: 8 kB / 0.5149 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3593, allocations: 0 / 0.5149 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.3601, allocations: 192.8 kB / 0.5151 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3603, allocations: 31.98 kB / 0.5152 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.3632, allocations: 2.641 MB / 0.5177 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.3636, allocations: 43.61 kB / 0.5178 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3636, allocations: 7.938 kB / 0.5178 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000307/0.3639, allocations: 212.3 kB / 0.518 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000206/0.3641, allocations: 159.4 kB / 0.5181 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003687/0.3645, allocations: 261.3 kB / 0.5184 GB, free: 420 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.3645, allocations: 4 kB / 0.5184 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001021/0.3655, allocations: 485.4 kB / 0.5189 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3656, allocations: 4 kB / 0.5189 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3656, allocations: 4 kB / 0.5189 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.3662, allocations: 186.8 kB / 0.519 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3664, allocations: 31.98 kB / 0.5191 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.3696, allocations: 2.585 MB / 0.5216 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.37, allocations: 35.78 kB / 0.5216 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.37, allocations: 8 kB / 0.5216 GB, free: 12.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.3702, allocations: 200.1 kB / 0.5218 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.3703, allocations: 39.53 kB / 0.5219 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.3704, allocations: 48.22 kB / 0.5219 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.3704, allocations: 4 kB / 0.5219 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3704, allocations: 0 / 0.5219 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3704, allocations: 0 / 0.5219 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.3709, allocations: 421.5 kB / 0.5223 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.371, allocations: 0 / 0.5223 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3711, allocations: 23.92 kB / 0.5223 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006723/0.3718, allocations: 183.1 kB / 0.5225 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3718, allocations: 8 kB / 0.5225 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.3749, allocations: 2.574 MB / 0.525 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.375, allocations: 0 / 0.525 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.3761, allocations: 0.5229 MB / 0.5256 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.3763, allocations: 136.5 kB / 0.5257 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.3763, allocations: 11.88 kB / 0.5257 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.3766, allocations: 19.98 kB / 0.5257 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.3766, allocations: 27.95 kB / 0.5257 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3767, allocations: 8 kB / 0.5257 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002918/0.377, allocations: 259.2 kB / 0.526 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.377, allocations: 0 / 0.526 GB, free: 8.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007663/0.3777, allocations: 247.6 kB / 0.5262 GB, free: 7.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.3779, allocations: 103.2 kB / 0.5263 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.3795, allocations: 0.7877 MB / 0.5271 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3795, allocations: 384 / 0.5271 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.38, allocations: 326.4 kB / 0.5274 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.3806, allocations: 105.3 kB / 0.5275 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3821, allocations: 0.657 MB / 0.5282 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.3825, allocations: 0.8191 MB / 0.529 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.3827, allocations: 39.2 kB / 0.529 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.3828, allocations: 23.44 kB / 0.529 GB, free: 5.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3828, allocations: 0 / 0.529 GB, free: 5.043 MB / 398.1 MB Notification: Performance of Templates: time 0.0148/0.3976, allocations: 8.65 MB / 0.5375 GB, free: 12.49 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)