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.001146/0.001147, allocations: 99 kB / 15.05 MB, free: 1.105 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.001046/0.001046, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.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.767/1.767, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005929/0.0005929, allocations: 11.03 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3131, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002609/0.3158, allocations: 1.646 MB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3172, allocations: 0.6365 MB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.3175, allocations: 4 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.3176, allocations: 11.86 kB / 0.7894 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.3178, allocations: 47.84 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.3184, allocations: 122.7 kB / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.3188, allocations: 159.7 kB / 0.7897 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.319, allocations: 48.47 kB / 0.7897 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.3192, allocations: 87.72 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.3194, allocations: 103.6 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.3195, allocations: 8 kB / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.091e-05/0.3195, allocations: 15.94 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.3196, allocations: 35.88 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.3196, allocations: 57.58 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3199, allocations: 183.8 kB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3199, allocations: 0 / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3199, allocations: 0 / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3199, allocations: 0 / 0.7902 GB, free: 8.785 MB / 0.6075 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.00145/0.3214, allocations: 0.6306 MB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3214, allocations: 8.031 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.3215, allocations: 27.72 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.3221, allocations: 271.5 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3221, allocations: 15.94 kB / 0.7911 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.3221, allocations: 12 kB / 0.7911 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.3229, allocations: 268 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3229, allocations: 0 / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.3229, allocations: 4 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.323, allocations: 8 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/0.3239, allocations: 267.8 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.3248, allocations: 0.5195 MB / 0.7922 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3259, allocations: 322.5 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.326, allocations: 4 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006488/0.3266, allocations: 213.9 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.3266, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001471/0.3281, allocations: 461 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3282, allocations: 55.41 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.3284, allocations: 215.2 kB / 0.7934 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.3284, allocations: 37.69 kB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.3285, allocations: 128.2 kB / 0.7935 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.3286, allocations: 39.45 kB / 0.7936 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.3286, allocations: 4 kB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3287, allocations: 330.8 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.3292, allocations: 143.8 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.3297, allocations: 139.8 kB / 0.7942 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.3301, allocations: 187.3 kB / 0.7943 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3301, allocations: 0 / 0.7943 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001013/0.3312, allocations: 404.6 kB / 0.7947 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.3313, allocations: 155.9 kB / 0.7949 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3313, allocations: 4 kB / 0.7949 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3313, allocations: 3.984 kB / 0.7949 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.3316, allocations: 55.94 kB / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3316, allocations: 4 kB / 0.7949 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3319, allocations: 59.78 kB / 0.795 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3319, allocations: 4 kB / 0.795 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.3319, allocations: 7.938 kB / 0.795 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008915/0.3328, allocations: 375.1 kB / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.3329, allocations: 0 / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.3329, allocations: 0 / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.3331, allocations: 47.95 kB / 0.7954 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3331, allocations: 7.984 kB / 0.7954 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.3334, allocations: 55.86 kB / 0.7955 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3334, allocations: 8 kB / 0.7955 GB, free: 3.07 MB / 0.6075 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 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.3336, allocations: 205 kB / 0.7957 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.3337, allocations: 27.72 kB / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.3338, allocations: 25.52 kB / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3338, allocations: 0 / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3338, allocations: 0 / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3338, allocations: 0 / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3341, allocations: 281.4 kB / 0.796 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3341, allocations: 4 kB / 0.796 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.3344, allocations: 55.94 kB / 0.796 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3344, allocations: 4 kB / 0.7961 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.3344, allocations: 3.984 kB / 0.7961 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3345, allocations: 0 / 0.7961 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3345, allocations: 0 / 0.7961 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3355, allocations: 364.5 kB / 0.7964 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.3356, allocations: 100.8 kB / 0.7965 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.3356, allocations: 4 kB / 0.7965 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.3359, allocations: 51.94 kB / 0.7966 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3361, allocations: 31.95 kB / 0.7966 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3361, allocations: 4 kB / 0.7966 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001672/0.3363, allocations: 160.6 kB / 0.7967 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.11e-07/0.3363, allocations: 0 / 0.7967 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003735/0.3367, allocations: 75.84 kB / 0.7968 GB, free: 1.609 MB / 0.6075 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 (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.0001835/0.3369, allocations: 103.2 kB / 0.7969 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.3385, allocations: 0.6625 MB / 0.7976 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3385, allocations: 0 / 0.7976 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.3391, allocations: 159.8 kB / 0.7977 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3394, allocations: 39.03 kB / 0.7977 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3404, allocations: 408.6 kB / 0.7981 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3408, allocations: 0.7367 MB / 0.7989 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.341, allocations: 25.53 kB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.3411, allocations: 19.44 kB / 0.7989 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.3411, allocations: 0 / 0.7989 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of Templates: time 0.006973/0.3481, allocations: 2.776 MB / 0.8016 GB, free: 12.62 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) Environment - environmentSimulation: