Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.177/2.177, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 198.8 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 107.7 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001076, allocations: 56.17 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3018, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008615/0.3105, allocations: 6.958 MB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1626/0.4732, allocations: 157.2 MB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.4752, allocations: 31.81 kB / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.481, allocations: 1.787 MB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.4845, allocations: 1.012 MB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.4881, allocations: 1.199 MB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.006102/0.4942, allocations: 5.064 MB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.4964, allocations: 1.241 MB / 1.388 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.4994, allocations: 1.405 MB / 1.39 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.5024, allocations: 1.424 MB / 1.391 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0006095/0.503, allocations: 128 kB / 1.391 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005355/0.5084, allocations: 2.274 MB / 1.394 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.5129, allocations: 4.194 MB / 1.398 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.5155, allocations: 1.441 MB / 1.399 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.5275, allocations: 5.843 MB / 1.405 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.5276, allocations: 0 / 1.405 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.37e-06/0.5277, allocations: 0 / 1.405 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002179/0.5279, allocations: 3.938 kB / 1.405 GB, free: 5.363 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.01413/0.542, allocations: 4.019 MB / 1.409 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.5421, allocations: 11.98 kB / 1.409 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.5438, allocations: 416.5 kB / 1.409 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.5583, allocations: 12.25 MB / 1.421 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.5585, allocations: 167 kB / 1.421 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.559, allocations: 232 kB / 1.421 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.5627, allocations: 2.292 MB / 1.424 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5628, allocations: 4 kB / 1.424 GB, free: 1.781 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.5629, allocations: 64 kB / 1.424 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.5629, allocations: 36 kB / 1.424 GB, free: 1.684 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6181/1.181, allocations: 2.393 MB / 1.426 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02515/1.206, allocations: 14.82 MB / 1.441 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/1.21, allocations: 1.864 MB / 1.442 GB, free: 197.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/1.211, allocations: 1.242 MB / 1.444 GB, free: 197.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/1.211, allocations: 37.34 kB / 1.444 GB, free: 197.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00208/1.213, allocations: 1.254 MB / 1.445 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=126): time 3.276e-06/1.214, allocations: 0 / 1.445 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=126): time 0.007865/1.221, allocations: 3.646 MB / 1.448 GB, free: 195.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002379/1.222, allocations: 363 kB / 1.449 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02727/1.249, allocations: 20.55 MB / 1.469 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007027/1.25, allocations: 77.7 kB / 1.469 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/1.251, allocations: 1.13 MB / 1.47 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/1.251, allocations: 441.3 kB / 1.47 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002877/1.254, allocations: 4.902 MB / 1.475 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/1.254, allocations: 301.1 kB / 1.476 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0258/1.28, allocations: 38.65 MB / 1.513 GB, free: 132 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02582/1.306, allocations: 40.02 MB / 1.552 GB, free: 91.67 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0306/1.337, allocations: 47.66 MB / 1.599 GB, free: 43.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.445e-05/1.337, allocations: 4 kB / 1.599 GB, free: 43.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.0834/1.42, allocations: 90.86 MB / 1.688 GB, free: 352 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003226/1.421, allocations: 198.7 kB / 1.688 GB, free: 148 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.456e-05/1.421, allocations: 20 kB / 1.688 GB, free: 128 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/1.421, allocations: 116.8 kB / 1.688 GB, free: 8 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.424, allocations: 0.5889 MB / 1.689 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/1.426, allocations: 1.558 MB / 1.69 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/1.43, allocations: 365.3 kB / 1.69 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/1.43, allocations: 151.7 kB / 1.691 GB, free: 13.23 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (380): * Single equations (assignments): 339 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003688/1.434, allocations: 2.489 MB / 1.693 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008148/1.435, allocations: 248.6 kB / 1.693 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/1.441, allocations: 3.352 MB / 1.697 GB, free: 7.133 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.441, allocations: 12 kB / 1.697 GB, free: 7.121 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.441, allocations: 0 / 1.697 GB, free: 7.121 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/1.441, allocations: 3.984 kB / 1.697 GB, free: 7.117 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009069/1.45, allocations: 5.402 MB / 1.702 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.45, allocations: 0 / 1.702 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/1.451, allocations: 195.7 kB / 1.702 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/1.451, allocations: 84.77 kB / 1.702 GB, free: 1.391 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/1.451, allocations: 35.98 kB / 1.702 GB, free: 1.355 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/1.453, allocations: 1.558 MB / 1.704 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.453, allocations: 0 / 1.704 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007761/1.461, allocations: 5.84 MB / 1.709 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.462, allocations: 0.5286 MB / 1.71 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/1.462, allocations: 24 kB / 1.71 GB, free: 9.176 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/1.463, allocations: 87.91 kB / 1.71 GB, free: 9.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/1.463, allocations: 80.89 kB / 1.71 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.463, allocations: 63.91 kB / 1.71 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01092/1.474, allocations: 12.76 MB / 1.723 GB, free: 12.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.4e-07/1.474, allocations: 0 / 1.723 GB, free: 12.18 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005303/1.48, allocations: 1.737 MB / 1.724 GB, free: 10.53 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002653/1.482, allocations: 0.9997 MB / 1.725 GB, free: 9.812 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.04399/1.526, allocations: 50.79 MB / 1.775 GB, free: 7.023 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.526, allocations: 5.812 kB / 1.775 GB, free: 7.02 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/1.53, allocations: 2.656 MB / 1.777 GB, free: 4.344 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.532, allocations: 423.4 kB / 1.778 GB, free: 3.934 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/1.561, allocations: 21.76 MB / 1.799 GB, free: 14.11 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005938/1.567, allocations: 4.649 MB / 1.804 GB, free: 9.434 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.002217/1.569, allocations: 0.6317 MB / 1.804 GB, free: 8.797 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/1.569, allocations: 203.4 kB / 1.804 GB, free: 8.598 MB / 1.089 GB Notification: Performance of SimCode: time 7.51e-07/1.569, allocations: 0 / 1.804 GB, free: 8.598 MB / 1.089 GB Notification: Performance of Templates: time 0.7643/2.334, allocations: 58.26 MB / 1.861 GB, free: 390.4 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)