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.0008039/0.0008041, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006338/0.006338, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.551/1.551, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.765/1.765, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006054/0.0006052, allocations: 12.59 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2762, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002182/0.2784, allocations: 1.715 MB / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2795, allocations: 0.679 MB / 0.7902 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.2796, allocations: 7.938 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.2797, allocations: 15.84 kB / 0.7902 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.2798, allocations: 27.72 kB / 0.7903 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.2802, allocations: 139.8 kB / 0.7904 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.2805, allocations: 275.2 kB / 0.7907 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2807, allocations: 56.3 kB / 0.7907 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2808, allocations: 87.61 kB / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.2809, allocations: 103.5 kB / 0.7909 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.466e-05/0.281, allocations: 8 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.749e-05/0.281, allocations: 8 kB / 0.7909 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.2811, allocations: 47.75 kB / 0.791 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2812, allocations: 121.1 kB / 0.7911 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2814, allocations: 243.3 kB / 0.7913 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2814, allocations: 4 kB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2814, allocations: 0 / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2815, allocations: 0 / 0.7913 GB, free: 8.027 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.001215/0.2827, allocations: 0.623 MB / 0.7919 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2827, allocations: 12.03 kB / 0.7919 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.2828, allocations: 24.66 kB / 0.792 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.2832, allocations: 268.8 kB / 0.7922 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2832, allocations: 8.375 kB / 0.7922 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.2832, allocations: 16.38 kB / 0.7922 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.2839, allocations: 276.3 kB / 0.7925 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2839, allocations: 0 / 0.7925 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.284, allocations: 4 kB / 0.7925 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.284, allocations: 4 kB / 0.7925 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/0.2849, allocations: 271.8 kB / 0.7928 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007549/0.2857, allocations: 0.5196 MB / 0.7933 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2867, allocations: 318.5 kB / 0.7936 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.2872, allocations: 140.7 kB / 0.7937 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.2873, allocations: 4 kB / 0.7937 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/0.2879, allocations: 227 kB / 0.7939 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.2879, allocations: 0 / 0.7939 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001488/0.2894, allocations: 459.9 kB / 0.7944 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.2895, allocations: 59.39 kB / 0.7944 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2897, allocations: 211.2 kB / 0.7946 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2897, allocations: 33.7 kB / 0.7947 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2898, allocations: 136.2 kB / 0.7948 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.2899, allocations: 43.45 kB / 0.7948 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.2899, allocations: 17.72 kB / 0.7949 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.29, allocations: 334.8 kB / 0.7952 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.2905, allocations: 139.9 kB / 0.7953 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.291, allocations: 139.9 kB / 0.7954 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.2918, allocations: 322.6 kB / 0.7957 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2919, allocations: 0 / 0.7957 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001052/0.2929, allocations: 420.4 kB / 0.7961 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.293, allocations: 149.1 kB / 0.7963 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.293, allocations: 0 / 0.7963 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2931, allocations: 4 kB / 0.7963 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.2933, allocations: 63.88 kB / 0.7964 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2934, allocations: 4 kB / 0.7964 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.2937, allocations: 59.8 kB / 0.7964 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.2937, allocations: 7.984 kB / 0.7964 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.2937, allocations: 4 kB / 0.7964 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009423/0.2947, allocations: 367.1 kB / 0.7968 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.2947, allocations: 0 / 0.7968 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.2947, allocations: 7.938 kB / 0.7968 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2949, allocations: 51.95 kB / 0.7968 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.2949, allocations: 0 / 0.7968 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.2952, allocations: 63.78 kB / 0.7969 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2953, allocations: 4 kB / 0.7969 GB, free: 1.996 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 (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 0.0001552/0.2954, allocations: 212.3 kB / 0.7971 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.2954, allocations: 19.75 kB / 0.7971 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.2955, allocations: 29.52 kB / 0.7971 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2955, allocations: 4 kB / 0.7972 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2955, allocations: 0 / 0.7972 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2955, allocations: 0 / 0.7972 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.2958, allocations: 269.4 kB / 0.7974 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2958, allocations: 0 / 0.7974 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.2961, allocations: 63.94 kB / 0.7975 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.2961, allocations: 3.938 kB / 0.7975 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2961, allocations: 4 kB / 0.7975 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.2961, allocations: 3.984 kB / 0.7975 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2961, allocations: 0 / 0.7975 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.2971, allocations: 352.6 kB / 0.7978 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.2972, allocations: 104.8 kB / 0.7979 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.2972, allocations: 7.938 kB / 0.7979 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.2975, allocations: 47.94 kB / 0.798 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.2976, allocations: 27.97 kB / 0.798 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2977, allocations: 12 kB / 0.798 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001398/0.2978, allocations: 160.6 kB / 0.7982 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2978, allocations: 0 / 0.7982 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003327/0.2982, allocations: 71.84 kB / 0.7982 GB, free: 0.543 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 (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.0001364/0.2983, allocations: 111.2 kB / 0.7983 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.2999, allocations: 0.668 MB / 0.799 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2999, allocations: 8 kB / 0.799 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.3004, allocations: 154.9 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3008, allocations: 39.02 kB / 0.7992 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.3017, allocations: 422.7 kB / 0.7996 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.302, allocations: 0.7326 MB / 0.8003 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.3022, allocations: 17.55 kB / 0.8003 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.3022, allocations: 27.42 kB / 0.8003 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3022, allocations: 0 / 0.8003 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.006682/0.3089, allocations: 2.866 MB / 0.8031 GB, free: 11.44 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: