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.001624/0.001625, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001924/0.001924, allocations: 200.1 kB / 16.26 MB, free: 6.625 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.42 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3177, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004508/0.3222, allocations: 3.019 MB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3239, allocations: 0.7752 MB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.3242, allocations: 4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.3245, allocations: 39.64 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.3249, allocations: 127 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.3253, allocations: 131.9 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.326, allocations: 0.5067 MB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.3264, allocations: 206.2 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.3268, allocations: 203.2 kB / 1.073 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.3272, allocations: 230.9 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3273, allocations: 36 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3274, allocations: 40 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3276, allocations: 95.59 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.3278, allocations: 218.9 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.3284, allocations: 438.6 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3284, allocations: 0 / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3284, allocations: 0 / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.3284, allocations: 0 / 1.074 GB, free: 4.746 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.001538/0.33, allocations: 0.7381 MB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.33, allocations: 11.97 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.3302, allocations: 52.38 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.3306, allocations: 323.2 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3307, allocations: 25.38 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.3307, allocations: 36.38 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.3314, allocations: 377.3 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3315, allocations: 7.938 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.3315, allocations: 19.92 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3315, allocations: 8 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.3321, allocations: 266.4 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.334, allocations: 1.452 MB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.3346, allocations: 283.3 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.335, allocations: 185.2 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.335, allocations: 4.234 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.335, allocations: 42.72 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.3351, allocations: 0 / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.003024/0.3381, allocations: 0.8835 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3381, allocations: 59.39 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.3385, allocations: 365.6 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.3386, allocations: 33.7 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3387, allocations: 208.2 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.3388, allocations: 90.66 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.3389, allocations: 53.98 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.339, allocations: 346.8 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.3393, allocations: 105.9 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.3396, allocations: 155.9 kB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.34, allocations: 262.7 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.34, allocations: 0 / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001134/0.3412, allocations: 497.4 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3412, allocations: 4 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3412, allocations: 4.156 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007829/0.342, allocations: 190.6 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3422, allocations: 39.91 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.3456, allocations: 2.671 MB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.346, allocations: 47.58 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.346, allocations: 12 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003124/0.3464, allocations: 204.6 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002441/0.3466, allocations: 163.2 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004396/0.3471, allocations: 265 kB / 1.084 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.3471, allocations: 0 / 1.084 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001118/0.3482, allocations: 481.9 kB / 1.084 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3482, allocations: 12.03 kB / 1.084 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.3482, allocations: 0 / 1.084 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.3489, allocations: 188.6 kB / 1.084 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.349, allocations: 35.91 kB / 1.084 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.3522, allocations: 2.584 MB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.3525, allocations: 35.8 kB / 1.087 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3526, allocations: 12 kB / 1.087 GB, free: 6.359 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.0001272/0.3527, allocations: 196.1 kB / 1.087 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.3528, allocations: 39.53 kB / 1.087 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.3529, allocations: 48.14 kB / 1.087 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3529, allocations: 4 kB / 1.087 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.3529, allocations: 3.938 kB / 1.087 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3529, allocations: 4 kB / 1.087 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.3534, allocations: 421.6 kB / 1.088 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3534, allocations: 0 / 1.088 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3535, allocations: 27.97 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006485/0.3542, allocations: 174.1 kB / 1.088 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3542, allocations: 4 kB / 1.088 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.3573, allocations: 2.582 MB / 1.09 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3574, allocations: 0 / 1.09 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3585, allocations: 0.5317 MB / 1.091 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.3586, allocations: 132.6 kB / 1.091 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.3587, allocations: 7.938 kB / 1.091 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.359, allocations: 19.89 kB / 1.091 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.3591, allocations: 23.95 kB / 1.091 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.3591, allocations: 8 kB / 1.091 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002652/0.3594, allocations: 267.1 kB / 1.091 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3594, allocations: 0 / 1.091 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007411/0.3601, allocations: 255.7 kB / 1.092 GB, free: 1.406 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.000142/0.3603, allocations: 107.2 kB / 1.092 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.3618, allocations: 0.7744 MB / 1.092 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3619, allocations: 0 / 1.092 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.3624, allocations: 334.9 kB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.363, allocations: 105.4 kB / 1.093 GB, free: 52 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3644, allocations: 0.8087 MB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.3648, allocations: 0.8075 MB / 1.094 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.365, allocations: 39.27 kB / 1.094 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.3651, allocations: 23.44 kB / 1.094 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.3651, allocations: 0 / 1.094 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of Templates: time 0.01482/0.3799, allocations: 8.62 MB / 1.103 GB, free: 5.793 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)