Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.006305/0.006305, allocations: 97.27 kB / 15.73 MB, free: 5.602 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.001661/0.001661, allocations: 193.4 kB / 16.68 MB, free: 5.523 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.305/1.305, 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 11.1.0-maint.11.x/package.mo): time 2.451/2.451, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 71.88 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5991, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007722/0.6069, allocations: 7.033 MB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.7577, allocations: 151.1 MB / 1.375 GB, free: 3.234 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006907/0.7584, allocations: 23.88 kB / 1.375 GB, free: 3.211 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.759, allocations: 265.4 kB / 1.375 GB, free: 2.949 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.7608, allocations: 0.78 MB / 1.376 GB, free: 2.168 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.7626, allocations: 1.015 MB / 1.377 GB, free: 1.16 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.7644, allocations: 2.104 MB / 1.379 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.7657, allocations: 1.109 MB / 1.38 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.7665, allocations: 0.8215 MB / 1.381 GB, free: 13.06 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.7674, allocations: 0.8753 MB / 1.381 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.7676, allocations: 224 kB / 1.382 GB, free: 11.96 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.7685, allocations: 0.5738 MB / 1.382 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003891/0.7689, allocations: 494.5 kB / 1.383 GB, free: 10.91 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007914/0.7697, allocations: 0.972 MB / 1.384 GB, free: 9.93 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.7721, allocations: 2.682 MB / 1.386 GB, free: 7.238 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7721, allocations: 0 / 1.386 GB, free: 7.238 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7721, allocations: 0 / 1.386 GB, free: 7.238 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.7721, allocations: 0 / 1.386 GB, free: 7.238 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003233/0.7753, allocations: 2.104 MB / 1.388 GB, free: 5.074 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.7754, allocations: 8.031 kB / 1.388 GB, free: 5.066 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.7756, allocations: 228.2 kB / 1.389 GB, free: 4.832 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.7766, allocations: 267.6 kB / 1.389 GB, free: 4.57 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.7779, allocations: 1.001 MB / 1.39 GB, free: 3.523 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.778, allocations: 152.8 kB / 1.39 GB, free: 3.367 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.7782, allocations: 152 kB / 1.39 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.7806, allocations: 1.593 MB / 1.392 GB, free: 1.57 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.7807, allocations: 0 / 1.392 GB, free: 1.57 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.7808, allocations: 63.98 kB / 1.392 GB, free: 1.508 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.7808, allocations: 40 kB / 1.392 GB, free: 1.469 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.7833, allocations: 1.6 MB / 1.393 GB, free: 15.86 MB / 1.123 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.005974/0.7893, allocations: 4.681 MB / 1.398 GB, free: 11 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.7911, allocations: 1.092 MB / 1.399 GB, free: 9.895 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/0.7918, allocations: 431.7 kB / 1.399 GB, free: 9.469 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/0.7919, allocations: 45.08 kB / 1.399 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.793, allocations: 0.6979 MB / 1.4 GB, free: 8.711 MB / 1.123 GB Notification: Performance of pre-optimization done (n=111): time 2.114e-06/0.7931, allocations: 0 / 1.4 GB, free: 8.711 MB / 1.123 GB Notification: Performance of matching and sorting (n=111): time 0.00371/0.7968, allocations: 1.661 MB / 1.402 GB, free: 7.023 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.7969, allocations: 192.9 kB / 1.402 GB, free: 6.793 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.7979, allocations: 0.8456 MB / 1.403 GB, free: 5.922 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.792e-05/0.798, allocations: 53.7 kB / 1.403 GB, free: 5.863 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.7984, allocations: 0.6376 MB / 1.403 GB, free: 5.219 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.7987, allocations: 372.8 kB / 1.404 GB, free: 4.852 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.799, allocations: 206.8 kB / 1.404 GB, free: 4.645 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7991, allocations: 345.9 kB / 1.404 GB, free: 4.301 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.7998, allocations: 378.4 kB / 1.405 GB, free: 3.93 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.8007, allocations: 0.5063 MB / 1.405 GB, free: 3.395 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.8022, allocations: 0.8633 MB / 1.406 GB, free: 2.516 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8022, allocations: 0 / 1.406 GB, free: 2.516 MB / 1.123 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002334/0.8045, allocations: 1.154 MB / 1.407 GB, free: 1.352 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8045, allocations: 8 kB / 1.407 GB, free: 1.344 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8046, allocations: 0 / 1.407 GB, free: 1.344 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.8051, allocations: 88.83 kB / 1.407 GB, free: 1.254 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.8059, allocations: 219.6 kB / 1.407 GB, free: 1.039 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.8079, allocations: 1.65 MB / 1.409 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/0.8087, allocations: 141.2 kB / 1.409 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.8088, allocations: 43.97 kB / 1.409 GB, free: 15.06 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * 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.0004566/0.8093, allocations: 348.3 kB / 1.409 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.8095, allocations: 119.2 kB / 1.41 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.8125, allocations: 1.524 MB / 1.411 GB, free: 13.06 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.8126, allocations: 15.94 kB / 1.411 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.8126, allocations: 0 / 1.411 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.8126, allocations: 7.969 kB / 1.411 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.814, allocations: 1.388 MB / 1.412 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.814, allocations: 4 kB / 1.412 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.8148, allocations: 199.7 kB / 1.413 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004048/0.8152, allocations: 68.8 kB / 1.413 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.8153, allocations: 35.97 kB / 1.413 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.8171, allocations: 1.69 MB / 1.414 GB, free: 9.453 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8172, allocations: 4.031 kB / 1.414 GB, free: 9.449 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.8195, allocations: 1.289 MB / 1.416 GB, free: 8.141 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.82, allocations: 359.9 kB / 1.416 GB, free: 7.77 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.8201, allocations: 43.83 kB / 1.416 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/0.8209, allocations: 79.91 kB / 1.416 GB, free: 7.648 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.8211, allocations: 97.17 kB / 1.416 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.8212, allocations: 51.97 kB / 1.416 GB, free: 7.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007532/0.822, allocations: 0.6215 MB / 1.417 GB, free: 6.867 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.81e-07/0.822, allocations: 0 / 1.417 GB, free: 6.867 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008857/0.8229, allocations: 478.6 kB / 1.417 GB, free: 6.398 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004345/0.8272, allocations: 2.361 MB / 1.42 GB, free: 4.191 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.8292, allocations: 1.117 MB / 1.421 GB, free: 3.062 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8292, allocations: 0 / 1.421 GB, free: 3.062 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.8304, allocations: 0.6857 MB / 1.421 GB, free: 2.363 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.8316, allocations: 360.2 kB / 1.422 GB, free: 2.031 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.8443, allocations: 8.722 MB / 1.43 GB, free: 9.156 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/0.8451, allocations: 1.226 MB / 1.431 GB, free: 7.898 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008518/0.846, allocations: 317.2 kB / 1.432 GB, free: 7.586 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008127/0.8468, allocations: 0.6086 MB / 1.432 GB, free: 6.977 MB / 1.154 GB Notification: Performance of SimCode: time 3.9e-07/0.8468, allocations: 0 / 1.432 GB, free: 6.977 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.874/2.721, allocations: 29.39 MB / 1.461 GB, free: 9.965 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/20.38, allocations: 0 / 1.461 GB, free: 9.965 MB / 1.186 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)