Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001729, allocations: 107 kB / 16.29 MB, free: 6.43 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.001997/0.001997, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.552/1.552, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 71.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2576, allocations: 114.5 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003358/0.261, allocations: 2.008 MB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2622, allocations: 0.6984 MB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2623, allocations: 7.938 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.209e-05/0.2624, allocations: 19.73 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.2626, allocations: 47.58 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.263, allocations: 153.1 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.2634, allocations: 299.2 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2635, allocations: 68.25 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.2637, allocations: 107.7 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.2638, allocations: 123.4 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.2639, allocations: 24 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.347e-05/0.2639, allocations: 32 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.264, allocations: 55.81 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2641, allocations: 107.5 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4663/0.7305, allocations: 266.4 kB / 0.788 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.7305, allocations: 0.875 kB / 0.788 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7306, allocations: 0 / 0.788 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.7306, allocations: 0 / 0.788 GB, free: 46.5 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001204/0.7318, allocations: 0.6218 MB / 0.7886 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7318, allocations: 14.12 kB / 0.7886 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.7319, allocations: 28.77 kB / 0.7886 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.7323, allocations: 274.8 kB / 0.7889 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.7323, allocations: 9.875 kB / 0.7889 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.7324, allocations: 13.88 kB / 0.7889 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.7329, allocations: 240.7 kB / 0.7891 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7329, allocations: 3.938 kB / 0.7891 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.733, allocations: 7.844 kB / 0.7891 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.733, allocations: 2.875 kB / 0.7891 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.7337, allocations: 220.4 kB / 0.7894 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.7344, allocations: 0.5135 MB / 0.7899 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.7353, allocations: 257.7 kB / 0.7901 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.7357, allocations: 125.1 kB / 0.7902 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.7357, allocations: 10.31 kB / 0.7902 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/0.7363, allocations: 190.9 kB / 0.7904 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.7363, allocations: 0 / 0.7904 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001219/0.7375, allocations: 383.4 kB / 0.7908 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.7376, allocations: 63.36 kB / 0.7908 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.7378, allocations: 214.9 kB / 0.791 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.7378, allocations: 32.27 kB / 0.7911 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.7379, allocations: 128.4 kB / 0.7912 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.7379, allocations: 48.17 kB / 0.7912 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.738, allocations: 39.88 kB / 0.7913 GB, free: 45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.738, allocations: 328.8 kB / 0.7916 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.7384, allocations: 119.5 kB / 0.7917 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.7388, allocations: 119.4 kB / 0.7918 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.7395, allocations: 272.5 kB / 0.7921 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7395, allocations: 0 / 0.7921 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008373/0.7404, allocations: 370.7 kB / 0.7924 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.7404, allocations: 58.28 kB / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7404, allocations: 0 / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.7405, allocations: 0 / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.7407, allocations: 56.59 kB / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.7407, allocations: 0.5 kB / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.741, allocations: 47.97 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.741, allocations: 9.984 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003659/0.7414, allocations: 197 kB / 0.7928 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003043/0.7417, allocations: 106.1 kB / 0.7929 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005892/0.7423, allocations: 263.3 kB / 0.7931 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.7423, allocations: 0 / 0.7931 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0007121/0.743, allocations: 350.1 kB / 0.7935 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.7431, allocations: 62.41 kB / 0.7935 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.7431, allocations: 3.5 kB / 0.7935 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.7431, allocations: 0 / 0.7935 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.7433, allocations: 50.39 kB / 0.7936 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.7433, allocations: 0 / 0.7936 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.7435, allocations: 41.44 kB / 0.7936 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.7435, allocations: 3.406 kB / 0.7936 GB, free: 44.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.117e-05/0.7436, allocations: 184.7 kB / 0.7938 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.7437, allocations: 36.52 kB / 0.7938 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.7437, allocations: 23.05 kB / 0.7939 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7437, allocations: 2.906 kB / 0.7939 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7438, allocations: 0 / 0.7939 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.7438, allocations: 0 / 0.7939 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.744, allocations: 265.9 kB / 0.7941 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.744, allocations: 0 / 0.7941 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.7442, allocations: 52.7 kB / 0.7942 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.7442, allocations: 4 kB / 0.7942 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.7442, allocations: 4.688 kB / 0.7942 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7443, allocations: 1.5 kB / 0.7942 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7443, allocations: 0 / 0.7942 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.745, allocations: 310.8 kB / 0.7945 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.7451, allocations: 103.5 kB / 0.7946 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.7451, allocations: 6.25 kB / 0.7946 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.7454, allocations: 40 kB / 0.7946 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.7455, allocations: 29.62 kB / 0.7946 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.7455, allocations: 6.719 kB / 0.7947 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001103/0.7456, allocations: 159.8 kB / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7456, allocations: 0 / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003061/0.7459, allocations: 73 kB / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001077/0.746, allocations: 101.8 kB / 0.795 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.7473, allocations: 0.5968 MB / 0.7956 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7473, allocations: 0 / 0.7956 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.7477, allocations: 129.7 kB / 0.7957 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.748, allocations: 49.5 kB / 0.7957 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007678/0.7488, allocations: 351.1 kB / 0.7961 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.749, allocations: 0.7313 MB / 0.7968 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000109/0.7491, allocations: 29.14 kB / 0.7968 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.7492, allocations: 25.09 kB / 0.7968 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7492, allocations: 0 / 0.7968 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.007393/0.7566, allocations: 3.225 MB / 0.8 GB, free: 42.05 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)