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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 99.7 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.0013/0.0013, 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 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7136, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007363/0.721, allocations: 6.172 MB / 0.9869 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1553/0.8763, allocations: 132.3 MB / 1.116 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.8777, allocations: 31.75 kB / 1.116 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.8817, allocations: 1.437 MB / 1.118 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.8846, allocations: 1.004 MB / 1.119 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.8874, allocations: 1.043 MB / 1.12 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.8912, allocations: 2.749 MB / 1.122 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.8926, allocations: 1.016 MB / 1.123 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.8949, allocations: 1.284 MB / 1.124 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.8965, allocations: 1.097 MB / 1.126 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.8968, allocations: 76 kB / 1.126 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.9011, allocations: 1.954 MB / 1.128 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003914/0.905, allocations: 4.565 MB / 1.132 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.9073, allocations: 1.239 MB / 1.133 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.9242, allocations: 15.28 MB / 1.148 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.9242, allocations: 4 kB / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.789e-06/0.9242, allocations: 7.938 kB / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004045/0.9247, allocations: 0 / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.03061/0.9553, allocations: 11.45 MB / 1.159 GB, free: 15.04 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.9554, allocations: 16.03 kB / 1.159 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008274/0.9562, allocations: 244.6 kB / 1.16 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.9618, allocations: 0.9264 MB / 1.16 GB, free: 13.83 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.893/2.855, allocations: 0.9547 GB / 2.115 GB, free: 22.65 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/2.855, allocations: 175.1 kB / 2.115 GB, free: 22.48 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/2.856, allocations: 236 kB / 2.116 GB, free: 22.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/2.858, allocations: 2.11 MB / 2.118 GB, free: 20.08 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/2.859, allocations: 0.6562 kB / 2.118 GB, free: 20.08 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/2.859, allocations: 72 kB / 2.118 GB, free: 20.01 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/2.859, allocations: 36 kB / 2.118 GB, free: 19.98 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00298/2.862, allocations: 2.21 MB / 2.12 GB, free: 17.76 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.671/3.533, allocations: 242.7 MB / 2.357 GB, free: 265.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/3.535, allocations: 1.634 MB / 2.359 GB, free: 263.9 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/3.535, allocations: 33.5 kB / 2.359 GB, free: 263.9 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/3.537, allocations: 1.11 MB / 2.36 GB, free: 262.7 MB / 1.201 GB Notification: Performance of pre-optimization done (n=138): time 2.385e-06/3.537, allocations: 0 / 2.36 GB, free: 262.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=138): time 0.008561/3.545, allocations: 3.677 MB / 2.363 GB, free: 259.4 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/3.545, allocations: 362.5 kB / 2.364 GB, free: 259 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.295/6.84, allocations: 1.183 GB / 3.546 GB, free: 428.8 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0006049/6.841, allocations: 85.33 kB / 3.546 GB, free: 428.7 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.007264/6.848, allocations: 3.746 MB / 3.55 GB, free: 426.1 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/6.849, allocations: 451.8 kB / 3.55 GB, free: 426 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/6.849, allocations: 57 kB / 3.55 GB, free: 425.9 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0003274/6.85, allocations: 443.3 kB / 3.551 GB, free: 425.6 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/6.852, allocations: 1.663 MB / 3.552 GB, free: 425.1 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/6.855, allocations: 2.605 MB / 3.555 GB, free: 423.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/6.859, allocations: 2.175 MB / 3.557 GB, free: 422.8 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.451e-05/6.859, allocations: 10.31 kB / 3.557 GB, free: 422.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01102/6.87, allocations: 5.46 MB / 3.562 GB, free: 420.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/6.87, allocations: 201.6 kB / 3.563 GB, free: 420.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/6.87, allocations: 31.67 kB / 3.563 GB, free: 420.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/6.871, allocations: 128.8 kB / 3.563 GB, free: 420.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/6.873, allocations: 0.6222 MB / 3.563 GB, free: 420.6 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/6.875, allocations: 1.581 MB / 3.565 GB, free: 419.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006514/6.881, allocations: 1.193 MB / 3.566 GB, free: 418.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/6.882, allocations: 156.5 kB / 3.566 GB, free: 418.3 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 343 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005349/6.887, allocations: 3.847 MB / 3.57 GB, free: 414.5 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004082/6.891, allocations: 0.7516 MB / 3.571 GB, free: 413.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/6.901, allocations: 3.842 MB / 3.575 GB, free: 409.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/6.901, allocations: 12.33 kB / 3.575 GB, free: 409.9 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/6.901, allocations: 3.984 kB / 3.575 GB, free: 409.9 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/6.901, allocations: 9.625 kB / 3.575 GB, free: 409.9 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/6.922, allocations: 6.783 MB / 3.581 GB, free: 403 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/6.922, allocations: 0 / 3.581 GB, free: 403 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/6.923, allocations: 218.8 kB / 3.581 GB, free: 402.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/6.923, allocations: 88.77 kB / 3.581 GB, free: 402.7 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/6.924, allocations: 35.98 kB / 3.581 GB, free: 402.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/6.925, allocations: 1.559 MB / 3.583 GB, free: 401 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/6.925, allocations: 0 / 3.583 GB, free: 401 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/6.935, allocations: 3.35 MB / 3.586 GB, free: 397.6 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009673/6.945, allocations: 3.156 MB / 3.589 GB, free: 394.4 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004578/6.95, allocations: 31.95 kB / 3.589 GB, free: 394.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008064/6.958, allocations: 0.7811 MB / 3.59 GB, free: 393.6 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/6.958, allocations: 101.2 kB / 3.59 GB, free: 393.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003082/6.958, allocations: 75.95 kB / 3.59 GB, free: 393.4 MB / 1.201 GB Notification: Performance of sorting global known variables: time 1.945/8.903, allocations: 0.9476 GB / 4.538 GB, free: 337.9 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.232e-06/8.903, allocations: 0 / 4.538 GB, free: 337.9 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.008813/8.912, allocations: 1.857 MB / 4.54 GB, free: 336.2 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01152/8.924, allocations: 4.848 MB / 4.545 GB, free: 332.1 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005849/8.93, allocations: 5.191 MB / 4.55 GB, free: 326.9 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/8.93, allocations: 3.906 kB / 4.55 GB, free: 326.9 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/8.932, allocations: 2.463 MB / 4.552 GB, free: 324.4 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007013/8.939, allocations: 0.7559 MB / 4.553 GB, free: 323.6 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04542/8.985, allocations: 44.25 MB / 4.596 GB, free: 277.9 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005689/8.99, allocations: 4.797 MB / 4.601 GB, free: 273 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.008013/8.998, allocations: 3.001 MB / 4.604 GB, free: 270 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007997/9.006, allocations: 4.095 MB / 4.608 GB, free: 265.9 MB / 1.201 GB Notification: Performance of SimCode: time 1.523e-06/9.006, allocations: 0 / 4.608 GB, free: 265.9 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.209/10.22, allocations: 0.4964 GB / 5.104 GB, free: 260.6 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/10.22, allocations: 303.2 kB / 5.104 GB, free: 260.2 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.974/19.19, allocations: 0 / 5.104 GB, free: 260.2 MB / 1.217 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat does not exist to compare? outputFormat=mat