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 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.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.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001156/0.001156, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 67.61 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3184, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004799/0.3233, allocations: 3.027 MB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3249, allocations: 0.7728 MB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.3251, allocations: 11.88 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3254, allocations: 39.62 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.3257, allocations: 119.1 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.3261, allocations: 139.9 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.3267, allocations: 498.9 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.3271, allocations: 190 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.3274, allocations: 187.2 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.3277, allocations: 218.9 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.3277, allocations: 28 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-05/0.3278, allocations: 28 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3279, allocations: 83.61 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3282, allocations: 210.8 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.3286, allocations: 422.6 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3286, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3286, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3286, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB 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.001397/0.33, allocations: 0.7406 MB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3301, allocations: 12.03 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/0.3302, allocations: 52.31 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.3306, allocations: 319.2 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.3307, allocations: 21.38 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.3307, allocations: 40.38 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.3314, allocations: 385.2 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3314, allocations: 3.984 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.3315, allocations: 12 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3315, allocations: 8 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.332, allocations: 274.4 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.3339, allocations: 1.448 MB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.3345, allocations: 286.2 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.3349, allocations: 181.2 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.335, allocations: 240 / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.335, allocations: 50.66 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.335, allocations: 0 / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.002961/0.338, allocations: 0.8718 MB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.338, allocations: 55.41 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.3384, allocations: 369.7 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.3385, allocations: 29.7 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.3386, allocations: 208.2 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.034e-05/0.3387, allocations: 90.66 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.3388, allocations: 53.98 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3389, allocations: 346.8 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.3392, allocations: 109.9 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3394, allocations: 163.8 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.3399, allocations: 258.8 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3399, allocations: 3.938 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001134/0.3411, allocations: 493.4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3411, allocations: 8 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3411, allocations: 0 / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008047/0.3419, allocations: 192.7 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3421, allocations: 35.92 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.3454, allocations: 2.472 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.3458, allocations: 39.67 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.3458, allocations: 4 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003269/0.3462, allocations: 220.5 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002566/0.3464, allocations: 163.3 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004472/0.3469, allocations: 257 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/0.3469, allocations: 4 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001122/0.348, allocations: 493.7 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.348, allocations: 4 kB / 1.084 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.348, allocations: 4 kB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/0.3487, allocations: 186.7 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3489, allocations: 39.91 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.3518, allocations: 2.397 MB / 1.086 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.3522, allocations: 31.81 kB / 1.086 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.3522, allocations: 12 kB / 1.086 GB, free: 7 MB / 0.8419 GB 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.0001311/0.3523, allocations: 200.8 kB / 1.087 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.3524, allocations: 39.53 kB / 1.087 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.3525, allocations: 48.09 kB / 1.087 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3525, allocations: 4 kB / 1.087 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3525, allocations: 0 / 1.087 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3525, allocations: 3.984 kB / 1.087 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.353, allocations: 417.6 kB / 1.087 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.353, allocations: 0 / 1.087 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3532, allocations: 23.98 kB / 1.087 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006704/0.3538, allocations: 180.5 kB / 1.087 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.3539, allocations: 7.938 kB / 1.087 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.3567, allocations: 2.386 MB / 1.09 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3567, allocations: 4 kB / 1.09 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3578, allocations: 0.5316 MB / 1.09 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.358, allocations: 132.6 kB / 1.09 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.358, allocations: 4 kB / 1.09 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.3583, allocations: 27.88 kB / 1.09 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.3584, allocations: 23.97 kB / 1.09 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3584, allocations: 11.94 kB / 1.09 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002655/0.3587, allocations: 263.2 kB / 1.09 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3587, allocations: 0 / 1.09 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007633/0.3595, allocations: 255.7 kB / 1.091 GB, free: 2.25 MB / 0.8419 GB 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.0001456/0.3596, allocations: 99.25 kB / 1.091 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.3611, allocations: 0.7669 MB / 1.092 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3611, allocations: 4 kB / 1.092 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.3616, allocations: 326.3 kB / 1.092 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.3622, allocations: 89.28 kB / 1.092 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3635, allocations: 0.8144 MB / 1.093 GB, free: 92 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3639, allocations: 0.8152 MB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.364, allocations: 35.28 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.3641, allocations: 19.44 kB / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3641, allocations: 0 / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of Templates: time 0.01344/0.3775, allocations: 8.122 MB / 1.102 GB, free: 7.164 MB / 0.8575 GB 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)