Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.623/2.623, allocations: 248.7 MB / 256.2 MB, free: 7.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002187/0.002187, allocations: 180.8 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 97.83 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.979e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9126/1.202, allocations: 131.8 MB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.203, allocations: 60.66 kB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004553/1.207, allocations: 1.105 MB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.207, allocations: 0 / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.346e-06/1.207, allocations: 0 / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000476/1.208, allocations: 357.8 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.208, allocations: 12.03 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/1.208, allocations: 7.906 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/1.208, allocations: 178.8 kB / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/1.208, allocations: 4 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/1.208, allocations: 3.938 kB / 1.014 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.642e-05/1.208, allocations: 17.81 kB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/1.208, allocations: 53.86 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.208, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.208, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/1.208, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/1.209, allocations: 278.5 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/1.209, allocations: 84.41 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/1.209, allocations: 12.36 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/1.209, allocations: 0 / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.209, allocations: 30.56 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.209, allocations: 0 / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001944/1.21, allocations: 56.81 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/1.21, allocations: 55.41 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.21, allocations: 113.7 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/1.21, allocations: 29.64 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/1.21, allocations: 94.88 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/1.21, allocations: 3.906 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/1.21, allocations: 0 / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.21, allocations: 318.2 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/1.21, allocations: 11.31 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/1.21, allocations: 27.95 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/1.21, allocations: 9.406 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.21, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/1.21, allocations: 55.28 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.21, allocations: 4 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.21, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.211, allocations: 8.125 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/1.211, allocations: 7 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.211, allocations: 12 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/1.211, allocations: 15.88 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.211, allocations: 7.938 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/1.211, allocations: 105 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001211/1.211, allocations: 49.09 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/1.211, allocations: 7.375 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/1.211, allocations: 8.328 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.211, allocations: 4 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.211, allocations: 5.266 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.211, allocations: 4 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/1.211, allocations: 151.1 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.211, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/1.211, allocations: 7.984 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.211, allocations: 0 / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.211, allocations: 0 / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.211, allocations: 4 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.211, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/1.212, allocations: 157.8 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/1.212, allocations: 89.88 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/1.212, allocations: 3.938 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.212, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/1.212, allocations: 7.984 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/1.212, allocations: 0 / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.695e-05/1.212, allocations: 102.9 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.212, allocations: 0 / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003051/1.212, allocations: 8 kB / 1.016 GB, free: 3.344 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004761/1.213, allocations: 0.6736 MB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001314/1.213, allocations: 29.11 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.213, allocations: 4 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.867e-05/1.213, allocations: 11.19 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/1.213, allocations: 4.594 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/1.214, allocations: 119.2 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.214, allocations: 0.6885 MB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.265e-05/1.214, allocations: 4 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/1.214, allocations: 21.61 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/1.214, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/1.247, allocations: 1.136 MB / 1.019 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/1.247, allocations: 136.7 kB / 1.019 GB, free: 436 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.603, allocations: 4 kB / 1.019 GB, free: 432 kB / 0.6355 GB