Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001126/0.001126, allocations: 183.7 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0009121/0.0009121, allocations: 99.41 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005367, allocations: 11.19 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2163, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01061/0.2269, allocations: 10.94 MB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6357/0.8627, allocations: 135.6 MB / 1.123 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.8658, allocations: 58.5 kB / 1.123 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006089/0.8719, allocations: 1.822 MB / 1.124 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.8774, allocations: 1.534 MB / 1.126 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.883, allocations: 1.708 MB / 1.128 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006177/0.8892, allocations: 3.762 MB / 1.131 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.8913, allocations: 1.382 MB / 1.133 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.8947, allocations: 1.701 MB / 1.134 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.8985, allocations: 1.582 MB / 1.136 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007861/0.8993, allocations: 110.4 kB / 1.136 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008175/0.9075, allocations: 2.31 MB / 1.138 GB, free: 0 / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.007055/0.9146, allocations: 4.765 MB / 1.143 GB, free: 14.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004113/0.9188, allocations: 1.446 MB / 1.144 GB, free: 14.1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02308/0.9419, allocations: 16.56 MB / 1.16 GB, free: 6.305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9419, allocations: 0 / 1.16 GB, free: 6.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9419, allocations: 0 / 1.16 GB, free: 6.305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005542/0.9425, allocations: 0 / 1.16 GB, free: 6.305 MB / 0.698 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.03653/0.979, allocations: 12.52 MB / 1.173 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.9791, allocations: 14.3 kB / 1.173 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/0.9802, allocations: 308.5 kB / 1.173 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02061/1.001, allocations: 3.045 MB / 1.176 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.003/3.004, allocations: 0.957 GB / 2.133 GB, free: 52.92 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/3.005, allocations: 216.2 kB / 2.133 GB, free: 52.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/3.006, allocations: 292 kB / 2.133 GB, free: 52.42 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/3.017, allocations: 3.442 MB / 2.137 GB, free: 48.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-05/3.017, allocations: 5.016 kB / 2.137 GB, free: 48.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006413/3.017, allocations: 92 kB / 2.137 GB, free: 48.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/3.017, allocations: 52 kB / 2.137 GB, free: 48.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00787/3.025, allocations: 3.327 MB / 2.14 GB, free: 45.35 MB / 0.9636 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.8352/3.86, allocations: 249.3 MB / 2.384 GB, free: 185.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00704/3.867, allocations: 2.83 MB / 2.386 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/3.868, allocations: 431.1 kB / 2.387 GB, free: 181.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004188/3.872, allocations: 1.984 MB / 2.389 GB, free: 179.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=173): time 3.607e-06/3.872, allocations: 0 / 2.389 GB, free: 179.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=173): time 0.0297/3.902, allocations: 7.833 MB / 2.396 GB, free: 172.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/3.902, allocations: 422.2 kB / 2.397 GB, free: 172 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.428/7.331, allocations: 1.183 GB / 3.58 GB, free: 87.95 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001331/7.332, allocations: 89.7 kB / 3.58 GB, free: 87.85 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.008585/7.341, allocations: 4.283 MB / 3.584 GB, free: 83.85 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001217/7.342, allocations: 0.5698 MB / 3.585 GB, free: 83.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/7.342, allocations: 64 kB / 3.585 GB, free: 83.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004019/7.343, allocations: 467.9 kB / 3.585 GB, free: 82.88 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007578/7.35, allocations: 2.918 MB / 3.588 GB, free: 79.98 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008844/7.359, allocations: 4.013 MB / 3.592 GB, free: 75.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008295/7.368, allocations: 3.314 MB / 3.595 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.838e-05/7.368, allocations: 8 kB / 3.595 GB, free: 72.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02965/7.397, allocations: 8.922 MB / 3.604 GB, free: 63.33 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004381/7.402, allocations: 18.77 MB / 3.623 GB, free: 43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03691/7.439, allocations: 7.816 MB / 3.63 GB, free: 35.15 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04394/7.483, allocations: 5.452 MB / 3.635 GB, free: 29.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005204/7.488, allocations: 0.8424 MB / 3.636 GB, free: 28.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008067/7.496, allocations: 6.392 MB / 3.643 GB, free: 22.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01379/7.51, allocations: 1.414 MB / 3.644 GB, free: 20.63 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/7.512, allocations: 183.9 kB / 3.644 GB, free: 20.45 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/7.512, allocations: 13.52 kB / 3.644 GB, free: 20.44 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0195/7.531, allocations: 8.134 MB / 3.652 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01445/7.546, allocations: 6.142 MB / 3.658 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/7.547, allocations: 0.5459 MB / 3.659 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/7.553, allocations: 0.8853 MB / 3.659 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008601/7.561, allocations: 8.484 MB / 3.668 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01329/7.575, allocations: 1.326 MB / 3.669 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/7.576, allocations: 195.9 kB / 3.669 GB, free: 10.09 MB / 0.9792 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.009635/7.586, allocations: 4.145 MB / 3.673 GB, free: 5.922 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00693/7.593, allocations: 0.8403 MB / 3.674 GB, free: 5.07 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5275/8.12, allocations: 6.467 MB / 3.68 GB, free: 360 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/8.12, allocations: 16.03 kB / 3.68 GB, free: 360 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/8.12, allocations: 3.672 kB / 3.68 GB, free: 360 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-05/8.12, allocations: 7.031 kB / 3.68 GB, free: 360 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04736/8.168, allocations: 16.02 MB / 3.696 GB, free: 355.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03424/8.202, allocations: 6.11 MB / 3.702 GB, free: 354 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/8.204, allocations: 335.9 kB / 3.702 GB, free: 354 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05368/8.258, allocations: 7.828 MB / 3.71 GB, free: 352.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005989/8.259, allocations: 55.64 kB / 3.71 GB, free: 352.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00658/8.265, allocations: 6.391 MB / 3.716 GB, free: 346.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/8.265, allocations: 0 / 3.716 GB, free: 346.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/8.281, allocations: 5.528 MB / 3.722 GB, free: 344.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009793/8.291, allocations: 3.415 MB / 3.725 GB, free: 341.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004066/8.295, allocations: 37.34 kB / 3.725 GB, free: 341.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007911/8.303, allocations: 0.9049 MB / 3.726 GB, free: 341.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/8.303, allocations: 116.7 kB / 3.726 GB, free: 341.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/8.303, allocations: 92.17 kB / 3.726 GB, free: 341.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 1.683/9.987, allocations: 0.9482 GB / 4.674 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.22e-07/9.987, allocations: 0 / 4.674 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02533/10.01, allocations: 3.496 MB / 4.678 GB, free: 107.2 MB / 0.9792 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.02074/10.03, allocations: 7.055 MB / 4.685 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02394/10.06, allocations: 13.24 MB / 4.698 GB, free: 87.69 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/10.06, allocations: 4 kB / 4.698 GB, free: 87.69 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006774/10.06, allocations: 3.498 MB / 4.701 GB, free: 84.16 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007706/10.07, allocations: 0.9695 MB / 4.702 GB, free: 83.22 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05578/10.13, allocations: 50.04 MB / 4.751 GB, free: 31.65 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007704/10.14, allocations: 5.321 MB / 4.756 GB, free: 26.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01294/10.15, allocations: 4.551 MB / 4.76 GB, free: 21.74 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01078/10.16, allocations: 4.537 MB / 4.765 GB, free: 17.2 MB / 0.9792 GB Notification: Performance of SimCode: time 2.004e-06/10.16, allocations: 0 / 4.765 GB, free: 17.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.671/11.83, allocations: 0.5424 GB / 5.307 GB, free: 229.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/11.83, allocations: 280.5 kB / 5.308 GB, free: 229.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/25.31, allocations: 0 / 5.308 GB, free: 229.4 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)