Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.005762/0.005762, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002228/0.002228, allocations: 194.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.188/2.188, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.89 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5676/0.5693, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008787/0.5781, allocations: 8.242 MB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1558/0.7339, allocations: 159.5 MB / 1.33 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.7349, allocations: 35.81 kB / 1.33 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.7386, allocations: 1.989 MB / 1.332 GB, free: 9.281 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.7407, allocations: 1.271 MB / 1.333 GB, free: 8.008 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.7433, allocations: 1.448 MB / 1.335 GB, free: 6.566 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004398/0.7477, allocations: 5.446 MB / 1.34 GB, free: 1.102 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.749, allocations: 1.116 MB / 1.341 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.7507, allocations: 1.687 MB / 1.343 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.7522, allocations: 1.491 MB / 1.344 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003375/0.7526, allocations: 276 kB / 1.344 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.7556, allocations: 2.356 MB / 1.347 GB, free: 10.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.7579, allocations: 3.014 MB / 1.35 GB, free: 7.105 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.7605, allocations: 2.943 MB / 1.353 GB, free: 4.148 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00902/0.7695, allocations: 10.85 MB / 1.363 GB, free: 9.266 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7695, allocations: 0 / 1.363 GB, free: 9.266 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7695, allocations: 0 / 1.363 GB, free: 9.266 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.946e-05/0.7696, allocations: 0 / 1.363 GB, free: 9.266 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01195/0.7815, allocations: 8.464 MB / 1.371 GB, free: 0.707 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.7816, allocations: 8.922 kB / 1.371 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.7818, allocations: 227.9 kB / 1.372 GB, free: 476 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.7836, allocations: 0.619 MB / 1.372 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6267/1.41, allocations: 276.1 MB / 1.642 GB, free: 309.1 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/1.41, allocations: 138.9 kB / 1.642 GB, free: 308.9 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.411, allocations: 188 kB / 1.642 GB, free: 308.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/1.413, allocations: 1.956 MB / 1.644 GB, free: 306.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/1.413, allocations: 4 kB / 1.644 GB, free: 306.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.413, allocations: 64 kB / 1.644 GB, free: 306.7 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/1.413, allocations: 39.33 kB / 1.644 GB, free: 306.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.415, allocations: 1.986 MB / 1.646 GB, free: 304.6 MB / 1.279 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.03101/1.446, allocations: 70.34 MB / 1.715 GB, free: 234.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.448, allocations: 1.793 MB / 1.717 GB, free: 232.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/1.449, allocations: 1.081 MB / 1.718 GB, free: 231.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/1.449, allocations: 45.08 kB / 1.718 GB, free: 231.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/1.45, allocations: 1.195 MB / 1.719 GB, free: 229.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 2.545e-06/1.45, allocations: 0 / 1.719 GB, free: 229.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.005637/1.456, allocations: 3.717 MB / 1.722 GB, free: 226.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.456, allocations: 342.5 kB / 1.723 GB, free: 225.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2504/1.706, allocations: 315.9 MB / 2.031 GB, free: 5.82 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.0003485/1.707, allocations: 69.7 kB / 2.031 GB, free: 5.746 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.002362/1.709, allocations: 2.236 MB / 2.034 GB, free: 3.504 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/1.709, allocations: 412.5 kB / 2.034 GB, free: 3.098 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006309/1.71, allocations: 463 kB / 2.034 GB, free: 2.645 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.71, allocations: 309.1 kB / 2.035 GB, free: 2.34 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/1.712, allocations: 1.527 MB / 2.036 GB, free: 0.8125 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/1.715, allocations: 1.834 MB / 2.038 GB, free: 14.89 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/1.718, allocations: 3.231 MB / 2.041 GB, free: 11.57 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.719, allocations: 0 / 2.041 GB, free: 11.57 MB / 1.389 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007261/1.726, allocations: 4.301 MB / 2.045 GB, free: 7.25 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/1.726, allocations: 165.6 kB / 2.046 GB, free: 7.082 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.726, allocations: 8.312 kB / 2.046 GB, free: 7.074 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/1.727, allocations: 92.62 kB / 2.046 GB, free: 6.984 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.728, allocations: 395.4 kB / 2.046 GB, free: 6.598 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/1.73, allocations: 1.637 MB / 2.048 GB, free: 4.809 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/1.732, allocations: 0.6459 MB / 2.048 GB, free: 4.16 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.732, allocations: 91.97 kB / 2.048 GB, free: 4.07 MB / 1.389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (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 (230): * Single equations (assignments): 228 * Array equations: 0 * 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.002345/1.735, allocations: 2.162 MB / 2.05 GB, free: 1.895 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009902/1.736, allocations: 484.7 kB / 2.051 GB, free: 1.418 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/1.741, allocations: 3.383 MB / 2.054 GB, free: 14.02 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.741, allocations: 12 kB / 2.054 GB, free: 14.01 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/1.741, allocations: 0 / 2.054 GB, free: 14.01 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.741, allocations: 15.91 kB / 2.054 GB, free: 13.99 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/1.745, allocations: 4.088 MB / 2.058 GB, free: 9.852 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.745, allocations: 0 / 2.058 GB, free: 9.852 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/1.745, allocations: 179.8 kB / 2.058 GB, free: 9.676 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003975/1.746, allocations: 76.72 kB / 2.058 GB, free: 9.598 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/1.746, allocations: 39.97 kB / 2.059 GB, free: 9.559 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/1.747, allocations: 1.663 MB / 2.06 GB, free: 7.75 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.748, allocations: 3.75 kB / 2.06 GB, free: 7.75 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/1.752, allocations: 3.058 MB / 2.063 GB, free: 4.66 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/1.754, allocations: 1.805 MB / 2.065 GB, free: 2.832 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006328/1.755, allocations: 28 kB / 2.065 GB, free: 2.805 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/1.757, allocations: 422.4 kB / 2.065 GB, free: 2.395 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.757, allocations: 92.86 kB / 2.065 GB, free: 2.305 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.757, allocations: 59.97 kB / 2.065 GB, free: 2.246 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.5625/2.32, allocations: 251.5 MB / 2.311 GB, free: 335.8 MB / 1.436 GB Notification: Performance of sort global known variables: time 5.91e-07/2.32, allocations: 0 / 2.311 GB, free: 335.8 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.003392/2.323, allocations: 1.418 MB / 2.312 GB, free: 334.5 MB / 1.436 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.006313/2.33, allocations: 4.483 MB / 2.317 GB, free: 330.7 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.003478/2.333, allocations: 4.333 MB / 2.321 GB, free: 326.4 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/2.333, allocations: 0 / 2.321 GB, free: 326.4 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/2.335, allocations: 1.91 MB / 2.323 GB, free: 324.5 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/2.337, allocations: 0.6127 MB / 2.324 GB, free: 323.9 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.558/3.895, allocations: 1.258 GB / 3.581 GB, free: 132 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/3.897, allocations: 3.023 MB / 3.584 GB, free: 128.9 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002845/3.9, allocations: 1.692 MB / 3.586 GB, free: 127.4 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/3.902, allocations: 2.35 MB / 3.588 GB, free: 125 MB / 1.436 GB Notification: Performance of SimCode: time 5.61e-07/3.902, allocations: 0 / 3.588 GB, free: 125 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.776/6.678, allocations: 273.4 MB / 3.855 GB, free: 435.9 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.99/35.67, allocations: 5.953 kB / 3.855 GB, free: 435.9 MB / 1.451 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)