Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_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.004719/0.004719, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.00121/0.00121, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 61.48 kB / 0.9504 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2054, allocations: 140.4 MB / 1.087 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005802/0.2112, allocations: 5.321 MB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.342, allocations: 151 MB / 1.24 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006365/0.3427, allocations: 23.88 kB / 1.24 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.3432, allocations: 202 kB / 1.24 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.3447, allocations: 0.6349 MB / 1.241 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.3464, allocations: 1.001 MB / 1.242 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.3477, allocations: 1.802 MB / 1.244 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.3488, allocations: 1.168 MB / 1.245 GB, free: 376 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.3494, allocations: 0.7707 MB / 1.246 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.3501, allocations: 0.8362 MB / 1.246 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.3503, allocations: 223.9 kB / 1.247 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006882/0.351, allocations: 0.5778 MB / 1.247 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.3513, allocations: 494.5 kB / 1.248 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.352, allocations: 0.9134 MB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.3538, allocations: 2.571 MB / 1.251 GB, free: 9.977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3538, allocations: 7.938 kB / 1.251 GB, free: 9.969 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.021e-06/0.3538, allocations: 0 / 1.251 GB, free: 9.969 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.3539, allocations: 0 / 1.251 GB, free: 9.969 MB / 1.014 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.003042/0.3569, allocations: 2.014 MB / 1.253 GB, free: 7.898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3569, allocations: 8.031 kB / 1.253 GB, free: 7.891 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.3572, allocations: 228.2 kB / 1.253 GB, free: 7.656 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008984/0.3581, allocations: 258.6 kB / 1.253 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.3593, allocations: 0.9888 MB / 1.254 GB, free: 6.371 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.3594, allocations: 148.8 kB / 1.255 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3596, allocations: 148 kB / 1.255 GB, free: 6.074 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.3618, allocations: 1.593 MB / 1.256 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.3618, allocations: 0 / 1.256 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.362, allocations: 64 kB / 1.256 GB, free: 4.363 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.362, allocations: 40 kB / 1.256 GB, free: 4.324 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.3643, allocations: 1.596 MB / 1.258 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3895/0.7538, allocations: 4.179 MB / 1.262 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.7556, allocations: 1.084 MB / 1.263 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.7563, allocations: 432.4 kB / 1.263 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.911e-05/0.7564, allocations: 44.39 kB / 1.264 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.7575, allocations: 0.7062 MB / 1.264 GB, free: 171.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=111): time 3.026e-06/0.7575, allocations: 0.7812 kB / 1.264 GB, free: 171.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=111): time 0.003566/0.7611, allocations: 1.642 MB / 1.266 GB, free: 170.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.7611, allocations: 193.7 kB / 1.266 GB, free: 170.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.7621, allocations: 0.8474 MB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.7622, allocations: 48.48 kB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.7625, allocations: 0.6174 MB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.7627, allocations: 356.6 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.763, allocations: 210.3 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.763, allocations: 348.3 kB / 1.268 GB, free: 169 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.7637, allocations: 376.7 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.7645, allocations: 0.5023 MB / 1.269 GB, free: 168.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.7659, allocations: 0.8587 MB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7659, allocations: 0.6875 kB / 1.27 GB, free: 168.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002295/0.7682, allocations: 1.139 MB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7682, allocations: 11.94 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7682, allocations: 1.719 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/0.7688, allocations: 83.91 kB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.7698, allocations: 220.9 kB / 1.271 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.7714, allocations: 1.65 MB / 1.273 GB, free: 166.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.7722, allocations: 129.5 kB / 1.273 GB, free: 166.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.7723, allocations: 45.14 kB / 1.273 GB, free: 166.1 MB / 1.014 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.0004659/0.7728, allocations: 362.5 kB / 1.274 GB, free: 165.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.773, allocations: 112.9 kB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.776, allocations: 1.527 MB / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.776, allocations: 18.22 kB / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.776, allocations: 0 / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.776, allocations: 11.67 kB / 1.275 GB, free: 165.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.7773, allocations: 1.373 MB / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7773, allocations: 0 / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/0.7781, allocations: 197.3 kB / 1.277 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.7785, allocations: 74.53 kB / 1.277 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.7786, allocations: 35.69 kB / 1.277 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.78, allocations: 1.673 MB / 1.278 GB, free: 163 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.78, allocations: 0.5 kB / 1.278 GB, free: 163 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.7823, allocations: 1.281 MB / 1.28 GB, free: 162.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.7827, allocations: 362 kB / 1.28 GB, free: 162.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.7829, allocations: 31.34 kB / 1.28 GB, free: 162.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007917/0.7837, allocations: 81.69 kB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.7839, allocations: 99.95 kB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.784, allocations: 49.77 kB / 1.28 GB, free: 162.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006522/0.7846, allocations: 0.622 MB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7846, allocations: 1.406 kB / 1.281 GB, free: 161.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008431/0.7855, allocations: 441 kB / 1.281 GB, free: 161.7 MB / 1.014 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.0034/0.7889, allocations: 2.357 MB / 1.284 GB, free: 160.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.7907, allocations: 1.124 MB / 1.285 GB, free: 160.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7907, allocations: 1.375 kB / 1.285 GB, free: 160.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009984/0.7917, allocations: 0.6761 MB / 1.285 GB, free: 159.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7928, allocations: 325.1 kB / 1.286 GB, free: 159.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.8051, allocations: 8.855 MB / 1.294 GB, free: 155.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.8057, allocations: 1.219 MB / 1.296 GB, free: 154.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008542/0.8066, allocations: 315.6 kB / 1.296 GB, free: 154.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.8073, allocations: 0.6063 MB / 1.296 GB, free: 154.2 MB / 1.014 GB Notification: Performance of SimCode: time 4.2e-07/0.8073, allocations: 0 / 1.296 GB, free: 154.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.364/4.171, allocations: 28.77 MB / 1.325 GB, free: 134.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/16.93, allocations: 4.625 kB / 1.325 GB, free: 134.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)