Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001464/0.001464, 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.001235/0.001235, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7451 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.34 kB / 0.912 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3239, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004473/0.3284, allocations: 2.976 MB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3308, allocations: 0.7752 MB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.3312, allocations: 11.94 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.3316, allocations: 55.38 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.3322, allocations: 138.8 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.3328, allocations: 171.7 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.3336, allocations: 0.5067 MB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.3341, allocations: 198.3 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.3345, allocations: 203.2 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.3349, allocations: 234.9 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.335, allocations: 39.94 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.3351, allocations: 36 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.3352, allocations: 91.69 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.3354, allocations: 214.8 kB / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.3359, allocations: 450.6 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3359, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3359, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.336, allocations: 0 / 1.074 GB, free: 4.363 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.001411/0.3374, allocations: 0.7288 MB / 1.075 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3374, allocations: 8.031 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.3376, allocations: 52.38 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.338, allocations: 327.2 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.338, allocations: 29.38 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.3381, allocations: 32.38 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.3387, allocations: 381.2 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3387, allocations: 0 / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.3388, allocations: 16 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3388, allocations: 12 kB / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.3394, allocations: 270.3 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.3412, allocations: 1.456 MB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.3418, allocations: 287.3 kB / 1.078 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.3422, allocations: 181.2 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.3423, allocations: 4.234 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3423, allocations: 38.73 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.3423, allocations: 0 / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.003104/0.3454, allocations: 0.8736 MB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3455, allocations: 63.33 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.3459, allocations: 365.7 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3459, allocations: 29.7 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3461, allocations: 212.2 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.3461, allocations: 94.64 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.3462, allocations: 46 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3464, allocations: 346.8 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.3466, allocations: 113.9 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.3469, allocations: 155.9 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.3474, allocations: 262 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3474, allocations: 4 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001196/0.3486, allocations: 497.3 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3486, allocations: 5.406 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3486, allocations: 0 / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007871/0.3494, allocations: 192.8 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3496, allocations: 35.97 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/0.3538, allocations: 2.651 MB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.3542, allocations: 51.56 kB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3543, allocations: 12 kB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003521/0.3546, allocations: 204.6 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002572/0.3549, allocations: 155.3 kB / 1.084 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000462/0.3554, allocations: 269.3 kB / 1.084 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.3554, allocations: 3.984 kB / 1.084 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.00121/0.3566, allocations: 485.5 kB / 1.085 GB, free: 9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3566, allocations: 4 kB / 1.085 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.3566, allocations: 8.156 kB / 1.085 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/0.3573, allocations: 185.8 kB / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3575, allocations: 35.98 kB / 1.085 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.3606, allocations: 2.588 MB / 1.087 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.361, allocations: 35.72 kB / 1.087 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3611, allocations: 16.06 kB / 1.087 GB, free: 6 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.0001412/0.3612, allocations: 192.7 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.3613, allocations: 35.53 kB / 1.088 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3614, allocations: 56.09 kB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3614, allocations: 0 / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3614, allocations: 4 kB / 1.088 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3614, allocations: 3.984 kB / 1.088 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.3619, allocations: 421.6 kB / 1.088 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3619, allocations: 0 / 1.088 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3621, allocations: 27.92 kB / 1.088 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.3628, allocations: 180.6 kB / 1.088 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3628, allocations: 4 kB / 1.088 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.3658, allocations: 2.575 MB / 1.091 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3659, allocations: 0 / 1.091 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.367, allocations: 0.5286 MB / 1.091 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3672, allocations: 136.6 kB / 1.092 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.3672, allocations: 11.94 kB / 1.092 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.3675, allocations: 23.89 kB / 1.092 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.3676, allocations: 23.97 kB / 1.092 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3676, allocations: 4 kB / 1.092 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002735/0.3679, allocations: 263.2 kB / 1.092 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3679, allocations: 0 / 1.092 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007596/0.3687, allocations: 247.7 kB / 1.092 GB, free: 1.055 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.0001437/0.3688, allocations: 107.2 kB / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.3704, allocations: 0.7843 MB / 1.093 GB, free: 136 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3704, allocations: 0 / 1.093 GB, free: 136 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.371, allocations: 330.3 kB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.3716, allocations: 101.4 kB / 1.093 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3729, allocations: 0.6758 MB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3733, allocations: 0.8114 MB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.3735, allocations: 35.27 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.3735, allocations: 27.44 kB / 1.095 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of SimCode: time 1.443e-06/0.3736, allocations: 4 kB / 1.095 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.01566/0.3892, allocations: 8.679 MB / 1.103 GB, free: 5.512 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)