Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001189, allocations: 177.4 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009909/0.000991, allocations: 103.7 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 16.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2795, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01126/0.2908, allocations: 10.94 MB / 0.9108 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.4802, allocations: 135.6 MB / 1.043 GB, free: 12.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005127/0.4854, allocations: 51.69 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00761/0.4931, allocations: 1.833 MB / 1.045 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00705/0.5002, allocations: 1.524 MB / 1.047 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007014/0.5072, allocations: 1.707 MB / 1.048 GB, free: 7.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008799/0.5161, allocations: 3.772 MB / 1.052 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.5198, allocations: 1.39 MB / 1.053 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/0.5246, allocations: 1.697 MB / 1.055 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7086/1.233, allocations: 1.517 MB / 1.056 GB, free: 4.672 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001201/1.234, allocations: 109.8 kB / 1.057 GB, free: 4.672 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/1.241, allocations: 2.127 MB / 1.059 GB, free: 4.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00784/1.249, allocations: 4.736 MB / 1.063 GB, free: 4.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.006127/1.255, allocations: 1.45 MB / 1.065 GB, free: 4.641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02891/1.284, allocations: 16.56 MB / 1.081 GB, free: 3.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.284, allocations: 0 / 1.081 GB, free: 3.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.284, allocations: 0 / 1.081 GB, free: 3.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007945/1.285, allocations: 0.625 kB / 1.081 GB, free: 3.758 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.05279/1.338, allocations: 12.51 MB / 1.093 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/1.338, allocations: 8.156 kB / 1.093 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001638/1.339, allocations: 322.3 kB / 1.093 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02522/1.364, allocations: 3.039 MB / 1.096 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.192/3.557, allocations: 0.957 GB / 2.053 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/3.557, allocations: 212.2 kB / 2.054 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/3.559, allocations: 292 kB / 2.054 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/3.575, allocations: 3.446 MB / 2.057 GB, free: 143.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/3.575, allocations: 3.938 kB / 2.057 GB, free: 143.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/3.576, allocations: 92 kB / 2.057 GB, free: 143.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.98e-05/3.576, allocations: 52 kB / 2.057 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/3.588, allocations: 3.33 MB / 2.061 GB, free: 140.2 MB / 0.948 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.7813/4.37, allocations: 249.3 MB / 2.304 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006636/4.376, allocations: 2.826 MB / 2.307 GB, free: 302.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000488/4.377, allocations: 436 kB / 2.307 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004632/4.382, allocations: 1.976 MB / 2.309 GB, free: 299.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=173): time 6.893e-06/4.382, allocations: 0 / 2.309 GB, free: 299.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=173): time 0.03098/4.413, allocations: 7.834 MB / 2.317 GB, free: 292.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002344/4.413, allocations: 415.3 kB / 2.317 GB, free: 291.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.905/7.318, allocations: 1.183 GB / 3.501 GB, free: 287 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008977/7.319, allocations: 89.7 kB / 3.501 GB, free: 286.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008464/7.327, allocations: 4.279 MB / 3.505 GB, free: 282.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008845/7.328, allocations: 0.5754 MB / 3.505 GB, free: 282.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007502/7.329, allocations: 64 kB / 3.505 GB, free: 282.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004774/7.33, allocations: 461 kB / 3.506 GB, free: 281.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008003/7.338, allocations: 2.923 MB / 3.509 GB, free: 279 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008292/7.346, allocations: 4.005 MB / 3.513 GB, free: 274.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008059/7.354, allocations: 3.313 MB / 3.516 GB, free: 271.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-05/7.354, allocations: 8 kB / 3.516 GB, free: 271.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02771/7.382, allocations: 8.923 MB / 3.525 GB, free: 262.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003929/7.386, allocations: 18.77 MB / 3.543 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0378/7.424, allocations: 7.826 MB / 3.551 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04304/7.467, allocations: 5.444 MB / 3.556 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/7.471, allocations: 0.8463 MB / 3.557 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007025/7.479, allocations: 6.38 MB / 3.563 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/7.49, allocations: 1.42 MB / 3.564 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/7.492, allocations: 192.6 kB / 3.565 GB, free: 219.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/7.492, allocations: 4 kB / 3.565 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01957/7.511, allocations: 8.129 MB / 3.572 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01387/7.525, allocations: 6.144 MB / 3.578 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/7.527, allocations: 0.5371 MB / 3.579 GB, free: 204.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004702/7.532, allocations: 0.8931 MB / 3.58 GB, free: 203.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00735/7.539, allocations: 8.477 MB / 3.588 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/7.55, allocations: 1.334 MB / 3.589 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/7.551, allocations: 187.9 kB / 3.59 GB, free: 193.2 MB / 0.948 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.009576/7.561, allocations: 4.147 MB / 3.594 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007111/7.568, allocations: 0.8481 MB / 3.595 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01923/7.587, allocations: 6.473 MB / 3.601 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/7.587, allocations: 16 kB / 3.601 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/7.587, allocations: 0 / 3.601 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/7.587, allocations: 11.92 kB / 3.601 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04585/7.633, allocations: 16.02 MB / 3.617 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03236/7.666, allocations: 6.112 MB / 3.622 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/7.668, allocations: 339.5 kB / 3.623 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05325/7.721, allocations: 7.818 MB / 3.63 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000486/7.722, allocations: 63.89 kB / 3.631 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006394/7.728, allocations: 6.395 MB / 3.637 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/7.728, allocations: 0 / 3.637 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/7.745, allocations: 5.522 MB / 3.642 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01285/7.758, allocations: 3.412 MB / 3.645 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008523/7.766, allocations: 39.95 kB / 3.646 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01077/7.777, allocations: 0.9099 MB / 3.646 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/7.778, allocations: 121.1 kB / 3.647 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003114/7.778, allocations: 91.94 kB / 3.647 GB, free: 134.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.427/10.21, allocations: 0.9482 GB / 4.595 GB, free: 292.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.042e-06/10.21, allocations: 0 / 4.595 GB, free: 292.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02992/10.24, allocations: 3.497 MB / 4.598 GB, free: 289.1 MB / 0.948 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.02565/10.26, allocations: 7.043 MB / 4.605 GB, free: 283.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02737/10.29, allocations: 13.25 MB / 4.618 GB, free: 271.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/10.29, allocations: 5.422 kB / 4.618 GB, free: 271.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006227/10.29, allocations: 3.494 MB / 4.621 GB, free: 268.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/10.31, allocations: 0.9623 MB / 4.622 GB, free: 267.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07761/10.38, allocations: 50.06 MB / 4.671 GB, free: 216 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01423/10.4, allocations: 5.307 MB / 4.676 GB, free: 210.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01792/10.42, allocations: 4.548 MB / 4.681 GB, free: 206.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01539/10.43, allocations: 4.545 MB / 4.685 GB, free: 201.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/10.43, allocations: 0 / 4.685 GB, free: 201.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.161/11.59, allocations: 0.5424 GB / 5.228 GB, free: 50.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004177/11.59, allocations: 284.4 kB / 5.228 GB, free: 50.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/25.36, allocations: 0 / 5.228 GB, free: 50.3 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1)