Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.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.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 99.16 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.001292/0.001292, allocations: 177.3 kB / 15.95 MB, free: 216 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.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.756/1.756, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005784/0.0005785, allocations: 17.12 kB / 0.6735 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2777, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01373/0.2915, allocations: 10.93 MB / 0.7978 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7244/1.016, allocations: 135.7 MB / 0.9303 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/1.02, allocations: 58.5 kB / 0.9303 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006529/1.026, allocations: 1.817 MB / 0.9321 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006037/1.032, allocations: 1.536 MB / 0.9336 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006279/1.039, allocations: 1.703 MB / 0.9353 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007615/1.046, allocations: 3.773 MB / 0.9389 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/1.049, allocations: 1.387 MB / 0.9403 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/1.053, allocations: 1.704 MB / 0.942 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004118/1.057, allocations: 1.517 MB / 0.9434 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007384/1.058, allocations: 110 kB / 0.9435 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006387/1.065, allocations: 2.125 MB / 0.9456 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004892/1.07, allocations: 4.742 MB / 0.9503 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004047/1.074, allocations: 1.454 MB / 0.9517 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02304/1.097, allocations: 16.56 MB / 0.9678 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.097, allocations: 0 / 0.9678 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.527e-06/1.097, allocations: 0 / 0.9678 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000541/1.097, allocations: 3.219 kB / 0.9678 GB, free: 10.95 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.04494/1.142, allocations: 12.52 MB / 0.9801 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.142, allocations: 9.906 kB / 0.9801 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0213/1.164, allocations: 3.037 MB / 0.983 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.058/3.222, allocations: 0.957 GB / 1.94 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/3.222, allocations: 216.2 kB / 1.94 GB, free: 144 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/3.224, allocations: 296 kB / 1.941 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009211/3.233, allocations: 3.448 MB / 1.944 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.613e-05/3.233, allocations: 3.938 kB / 1.944 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006494/3.234, allocations: 92 kB / 1.944 GB, free: 140 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/3.234, allocations: 53.89 kB / 1.944 GB, free: 140 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007806/3.241, allocations: 3.33 MB / 1.947 GB, free: 136.6 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7814/4.023, allocations: 249.3 MB / 2.191 GB, free: 303.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00664/4.03, allocations: 2.838 MB / 2.193 GB, free: 300.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004473/4.03, allocations: 422.4 kB / 2.194 GB, free: 300.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004279/4.034, allocations: 1.985 MB / 2.196 GB, free: 298.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=173): time 3.286e-06/4.034, allocations: 0.7656 kB / 2.196 GB, free: 298.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173): time 0.02615/4.061, allocations: 7.837 MB / 2.203 GB, free: 290.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/4.061, allocations: 414.3 kB / 2.204 GB, free: 290.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.109/7.17, allocations: 1.183 GB / 3.387 GB, free: 291.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/7.171, allocations: 89.7 kB / 3.387 GB, free: 291.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.008066/7.179, allocations: 4.292 MB / 3.392 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009892/7.18, allocations: 0.5686 MB / 3.392 GB, free: 286.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/7.18, allocations: 60 kB / 3.392 GB, free: 286.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002686/7.18, allocations: 461 kB / 3.393 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007083/7.188, allocations: 2.923 MB / 3.395 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007933/7.195, allocations: 4.017 MB / 3.399 GB, free: 279 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007515/7.203, allocations: 3.307 MB / 3.403 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-05/7.203, allocations: 8 kB / 3.403 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02533/7.228, allocations: 8.922 MB / 3.411 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.003897/7.232, allocations: 18.77 MB / 3.43 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03443/7.267, allocations: 7.813 MB / 3.437 GB, free: 238.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04148/7.308, allocations: 5.463 MB / 3.443 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005095/7.314, allocations: 0.8424 MB / 3.443 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007015/7.321, allocations: 6.387 MB / 3.45 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/7.334, allocations: 1.415 MB / 3.451 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/7.335, allocations: 188.7 kB / 3.451 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/7.335, allocations: 4 kB / 3.451 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01953/7.355, allocations: 8.139 MB / 3.459 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01365/7.369, allocations: 6.136 MB / 3.465 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/7.37, allocations: 0.5412 MB / 3.466 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/7.375, allocations: 0.8931 MB / 3.467 GB, free: 208.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/7.382, allocations: 8.492 MB / 3.475 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/7.393, allocations: 1.326 MB / 3.476 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/7.394, allocations: 191.9 kB / 3.476 GB, free: 197.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {5 23,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009237/7.403, allocations: 4.145 MB / 3.48 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005956/7.409, allocations: 0.8365 MB / 3.481 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/7.426, allocations: 6.473 MB / 3.488 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/7.426, allocations: 23.94 kB / 3.488 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/7.426, allocations: 0 / 3.488 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/7.426, allocations: 11.97 kB / 3.488 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03706/7.463, allocations: 16 MB / 3.503 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03164/7.495, allocations: 6.108 MB / 3.509 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/7.497, allocations: 339.5 kB / 3.51 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04928/7.546, allocations: 7.828 MB / 3.517 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/7.547, allocations: 60.56 kB / 3.517 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/7.553, allocations: 6.39 MB / 3.523 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/7.553, allocations: 3.656 kB / 3.523 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/7.572, allocations: 5.519 MB / 3.529 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01057/7.582, allocations: 3.408 MB / 3.532 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0054/7.588, allocations: 39.94 kB / 3.532 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009051/7.597, allocations: 0.914 MB / 3.533 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005211/7.597, allocations: 121.1 kB / 3.533 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/7.598, allocations: 87.94 kB / 3.533 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.123/9.721, allocations: 0.9482 GB / 4.482 GB, free: 303.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/9.721, allocations: 4 kB / 4.482 GB, free: 303.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.02307/9.744, allocations: 3.493 MB / 4.485 GB, free: 300.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {6 26,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004615/9.748, allocations: 1.034 MB / 4.486 GB, free: 299.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02663/9.775, allocations: 13.25 MB / 4.499 GB, free: 287.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/9.775, allocations: 0 / 4.499 GB, free: 287.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00618/9.781, allocations: 3.499 MB / 4.502 GB, free: 284.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00974/9.791, allocations: 0.9631 MB / 4.503 GB, free: 283.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04872/9.84, allocations: 21.27 MB / 4.524 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/9.852, allocations: 5.318 MB / 4.529 GB, free: 258.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01526/9.868, allocations: 4.545 MB / 4.534 GB, free: 254.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007211/9.875, allocations: 1.276 MB / 4.535 GB, free: 253 MB / 0.9981 GB Notification: Performance of SimCode: time 1.442e-06/9.875, allocations: 3.938 kB / 4.535 GB, free: 253 MB / 0.9981 GB Notification: Performance of Templates: time 0.9931/10.87, allocations: 468 MB / 4.992 GB, free: 174.9 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1) Environment - environmentSimulation: