Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.579/2.579, allocations: 287.5 MB / 302.4 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 180.7 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009333, allocations: 94.66 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005314/0.0005315, allocations: 11 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2201, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002311/0.2225, allocations: 1.661 MB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2238, allocations: 0.6481 MB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.224, allocations: 7.938 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.224, allocations: 11.86 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.2242, allocations: 39.69 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.2247, allocations: 117.9 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.225, allocations: 239.2 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2252, allocations: 56.45 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2253, allocations: 87.67 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2255, allocations: 107.5 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.2256, allocations: 8 kB / 0.9814 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.2256, allocations: 12 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.2257, allocations: 35.84 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.2258, allocations: 53.64 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.226, allocations: 187.7 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.226, allocations: 4 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.226, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.226, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 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.001696/0.2277, allocations: 0.6267 MB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2278, allocations: 12.03 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.89e-05/0.2279, allocations: 42.55 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.228, allocations: 35.67 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.2285, allocations: 267.5 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2285, allocations: 8 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.2286, allocations: 16 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.2296, allocations: 264.5 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2296, allocations: 0 / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.2297, allocations: 8 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2297, allocations: 4 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.2312, allocations: 279.6 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.2323, allocations: 0.5234 MB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.234, allocations: 310.5 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/0.2348, allocations: 156.7 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.2349, allocations: 0 / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009904/0.2359, allocations: 207.2 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.2359, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002476/0.2384, allocations: 458.2 kB / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2385, allocations: 59.33 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.2387, allocations: 219.1 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.2388, allocations: 29.7 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.2389, allocations: 132.3 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.2389, allocations: 35.45 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.239, allocations: 8 kB / 0.9852 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.239, allocations: 338.8 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/0.2398, allocations: 139.8 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.2406, allocations: 137.1 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.2414, allocations: 184.3 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2414, allocations: 0 / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001735/0.2432, allocations: 408.6 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.2433, allocations: 152.2 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2433, allocations: 0 / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2433, allocations: 0 / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.2439, allocations: 67.88 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2439, allocations: 0 / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.2444, allocations: 55.78 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.2445, allocations: 12 kB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.2445, allocations: 10.14 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001504/0.246, allocations: 363.2 kB / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.246, allocations: 0 / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.246, allocations: 0 / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.2465, allocations: 59.88 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2465, allocations: 11.88 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.247, allocations: 51.86 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.247, allocations: 15.94 kB / 0.9871 GB, free: 19.03 MB / 0.6198 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.0001712/0.2472, allocations: 213 kB / 0.9873 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.2472, allocations: 23.72 kB / 0.9873 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.088e-05/0.2473, allocations: 21.53 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2473, allocations: 0 / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2473, allocations: 0 / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2474, allocations: 3.984 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.2477, allocations: 273.5 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2477, allocations: 3.938 kB / 0.9876 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.2481, allocations: 59.94 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2482, allocations: 4 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.2482, allocations: 0 / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2482, allocations: 0 / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2482, allocations: 0 / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.2498, allocations: 361.6 kB / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.2499, allocations: 96.83 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.25, allocations: 4 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.2505, allocations: 51.94 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.2506, allocations: 31.89 kB / 0.9882 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2506, allocations: 8 kB / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001611/0.2508, allocations: 156.7 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2508, allocations: 0 / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000426/0.2513, allocations: 71.84 kB / 0.9884 GB, free: 17.58 MB / 0.6198 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.001867/0.2531, allocations: 0.8902 MB / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002499/0.2557, allocations: 0.6591 MB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2557, allocations: 8 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008243/0.2565, allocations: 155.8 kB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.257, allocations: 40.58 kB / 0.9901 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.2615, allocations: 1.43 MB / 0.9915 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2617, allocations: 0.725 MB / 0.9923 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.262, allocations: 33.52 kB / 0.9923 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.2621, allocations: 55.42 kB / 0.9923 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.2622, allocations: 0 / 0.9923 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2869, allocations: 4.668 MB / 0.9969 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/0.2872, allocations: 224.5 kB / 0.9971 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/2.848, allocations: 4.062 kB / 0.9971 GB, free: 8.762 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)