Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 101.8 kB / 19.7 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 185.8 kB / 22.98 MB, free: 5.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.5 MB / 0.7329 GB, free: 12.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 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="mat",numberOfIntervals=2500,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.88 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7103/0.7124, allocations: 160.8 MB / 1.219 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01853/0.7309, allocations: 14.89 MB / 1.234 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2596/0.9905, allocations: 164 MB / 1.394 GB, free: 0.793 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.9942, allocations: 91.31 kB / 1.394 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009234/1.003, allocations: 2.637 MB / 1.397 GB, free: 14.05 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006847/1.01, allocations: 1.669 MB / 1.398 GB, free: 12.38 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008613/1.019, allocations: 2.324 MB / 1.401 GB, free: 10.06 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01073/1.03, allocations: 7.559 MB / 1.408 GB, free: 2.48 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/1.033, allocations: 1.225 MB / 1.409 GB, free: 1.184 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/1.037, allocations: 2.388 MB / 1.411 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/1.041, allocations: 2.37 MB / 1.414 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001303/1.042, allocations: 436 kB / 1.414 GB, free: 11.98 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00707/1.049, allocations: 3.456 MB / 1.418 GB, free: 8.523 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005154/1.054, allocations: 4.72 MB / 1.422 GB, free: 3.797 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003541/1.058, allocations: 2.422 MB / 1.425 GB, free: 1.363 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/1.07, allocations: 8.44 MB / 1.433 GB, free: 8.895 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.07, allocations: 0 / 1.433 GB, free: 8.895 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.503e-06/1.07, allocations: 0 / 1.433 GB, free: 8.895 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001038/1.07, allocations: 0 / 1.433 GB, free: 8.895 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 593 * Number of variables: 593 Notification: Performance of Generate backend data structure: time 0.01208/1.082, allocations: 5.797 MB / 1.438 GB, free: 3 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.082, allocations: 12.03 kB / 1.438 GB, free: 2.988 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/1.099, allocations: 2.776 MB / 1.441 GB, free: 212 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02938/1.128, allocations: 15.2 MB / 1.456 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/1.128, allocations: 220.4 kB / 1.456 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008294/1.129, allocations: 300 kB / 1.456 GB, free: 412 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008379/1.138, allocations: 3.862 MB / 1.46 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/1.138, allocations: 3.938 kB / 1.46 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/1.138, allocations: 92 kB / 1.46 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/1.138, allocations: 56 kB / 1.46 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007833/1.146, allocations: 3.694 MB / 1.464 GB, free: 8.551 MB / 1.17 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.033/1.179, allocations: 22.18 MB / 1.486 GB, free: 1.566 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0073/1.186, allocations: 2.94 MB / 1.489 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004266/1.19, allocations: 1.881 MB / 1.49 GB, free: 12.72 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/1.191, allocations: 429.6 kB / 1.491 GB, free: 12.23 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005086/1.196, allocations: 2.362 MB / 1.493 GB, free: 9.844 MB / 1.201 GB Notification: Performance of pre-optimization done (n=185): time 4.067e-06/1.196, allocations: 0 / 1.493 GB, free: 9.844 MB / 1.201 GB Notification: Performance of matching and sorting (n=185): time 0.023/1.219, allocations: 8.35 MB / 1.501 GB, free: 1.418 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003024/1.219, allocations: 426.2 kB / 1.502 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0339/1.253, allocations: 21.56 MB / 1.523 GB, free: 11.36 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0007926/1.254, allocations: 101.7 kB / 1.523 GB, free: 11.26 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.256, allocations: 1.662 MB / 1.524 GB, free: 9.582 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009431/1.257, allocations: 0.643 MB / 1.525 GB, free: 8.934 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0056/1.263, allocations: 5.189 MB / 1.53 GB, free: 3.723 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.263, allocations: 309.1 kB / 1.53 GB, free: 3.418 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04363/1.306, allocations: 40.11 MB / 1.57 GB, free: 11.29 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5569/1.863, allocations: 41.63 MB / 1.61 GB, free: 332 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03973/1.903, allocations: 50.05 MB / 1.659 GB, free: 284 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.665e-05/1.903, allocations: 11.94 kB / 1.659 GB, free: 284 MB / 1.279 GB Notification: Performance of matching and sorting (n=1918) (initialization): time 0.08053/1.984, allocations: 95.2 MB / 1.752 GB, free: 189.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/1.984, allocations: 197.6 kB / 1.752 GB, free: 189.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07818/2.062, allocations: 68.64 MB / 1.819 GB, free: 120.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04303/2.105, allocations: 5.765 MB / 1.825 GB, free: 114.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/2.109, allocations: 0.9009 MB / 1.826 GB, free: 114 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/2.116, allocations: 6.768 MB / 1.832 GB, free: 106.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/2.121, allocations: 0.6687 MB / 1.833 GB, free: 106.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007331/2.122, allocations: 199.7 kB / 1.833 GB, free: 106.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02999/2.152, allocations: 42.48 MB / 1.875 GB, free: 63.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02924/2.181, allocations: 41.61 MB / 1.915 GB, free: 21.76 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05101/2.232, allocations: 50.04 MB / 1.964 GB, free: 3.285 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.632e-05/2.232, allocations: 8 kB / 1.964 GB, free: 3.277 MB / 1.311 GB Notification: Performance of matching and sorting (n=1918) (initialization_lambda0): time 0.1167/2.349, allocations: 94.67 MB / 2.057 GB, free: 4.602 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002736/2.349, allocations: 201.6 kB / 2.057 GB, free: 4.398 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08592/2.435, allocations: 66.18 MB / 2.122 GB, free: 1.887 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/2.437, allocations: 0.5216 MB / 2.122 GB, free: 1.355 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005093/2.442, allocations: 0.9687 MB / 2.123 GB, free: 396 kB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/2.453, allocations: 9.022 MB / 2.132 GB, free: 6.836 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005648/2.458, allocations: 0.5599 MB / 2.132 GB, free: 6.34 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007605/2.459, allocations: 199.4 kB / 2.133 GB, free: 6.148 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 385 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001291/2.46, allocations: 0.5629 MB / 2.133 GB, free: 5.594 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009575/2.461, allocations: 385.4 kB / 2.133 GB, free: 5.215 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5673/3.029, allocations: 6.319 MB / 2.14 GB, free: 0.538 GB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.739e-05/3.029, allocations: 11.45 kB / 2.14 GB, free: 0.538 GB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03361/3.062, allocations: 7.589 MB / 2.147 GB, free: 0.5371 GB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/3.065, allocations: 0.8548 MB / 2.148 GB, free: 0.5368 GB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006243/3.065, allocations: 42.64 kB / 2.148 GB, free: 0.5368 GB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/3.068, allocations: 265.5 kB / 2.148 GB, free: 0.5368 GB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/3.068, allocations: 139.1 kB / 2.148 GB, free: 0.5368 GB / 1.482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0142/3.082, allocations: 6.748 MB / 2.155 GB, free: 0.5349 GB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0123/3.095, allocations: 7.828 MB / 2.163 GB, free: 0.5326 GB / 1.482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00368/3.098, allocations: 2.127 MB / 2.165 GB, free: 0.5319 GB / 1.482 GB Notification: Performance of sorting global known variables: time 0.008368/3.107, allocations: 13.46 MB / 2.178 GB, free: 0.5196 GB / 1.482 GB Notification: Performance of Backend: time 5.71e-07/3.107, allocations: 1.219 kB / 2.178 GB, free: 0.5196 GB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.07105/3.178, allocations: 84.7 MB / 2.26 GB, free: 447.9 MB / 1.482 GB Notification: Performance of SimCode: time 0.02206/3.2, allocations: 22.29 MB / 2.282 GB, free: 425.8 MB / 1.482 GB Notification: Performance of Templates: time 0.1817/3.382, allocations: 148.5 MB / 2.427 GB, free: 277.3 MB / 1.482 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 14.750958023010753] Failed to read output from testmodel.py, exit status != 0: 3.3906154240248725 3.39948127 2.327086794 Calling exit ...