Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_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.0008499/0.00085, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004685/0.004685, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.227/2.227, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 11.98 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4961, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006287/0.5024, allocations: 6.582 MB / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1312/0.6336, allocations: 147.2 MB / 1.173 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.6345, allocations: 19.88 kB / 1.173 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.6352, allocations: 194.5 kB / 1.174 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.6372, allocations: 0.6679 MB / 1.174 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.6389, allocations: 0.8883 MB / 1.175 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.6408, allocations: 1.948 MB / 1.177 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.6421, allocations: 1.047 MB / 1.178 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007294/0.6428, allocations: 0.548 MB / 1.179 GB, free: 52 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.6436, allocations: 0.6099 MB / 1.179 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.6437, allocations: 36 kB / 1.179 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.6444, allocations: 379.6 kB / 1.18 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.6446, allocations: 266.6 kB / 1.18 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.6452, allocations: 0.7394 MB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.647, allocations: 2.433 MB / 1.183 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6471, allocations: 0 / 1.183 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6471, allocations: 0 / 1.183 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.6471, allocations: 0 / 1.183 GB, free: 11.58 MB / 0.9356 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.002738/0.6498, allocations: 1.694 MB / 1.185 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6499, allocations: 12.03 kB / 1.185 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.6501, allocations: 228.2 kB / 1.185 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.651, allocations: 274.5 kB / 1.185 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.6521, allocations: 0.9616 MB / 1.186 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.6523, allocations: 148.8 kB / 1.186 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.6525, allocations: 155.9 kB / 1.186 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.6548, allocations: 1.596 MB / 1.188 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.6548, allocations: 4 kB / 1.188 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.6549, allocations: 64 kB / 1.188 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.655, allocations: 40 kB / 1.188 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.6573, allocations: 1.596 MB / 1.189 GB, free: 4.645 MB / 0.9356 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.005786/0.6631, allocations: 4.788 MB / 1.194 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.6648, allocations: 1.102 MB / 1.195 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.6655, allocations: 435.7 kB / 1.196 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/0.6656, allocations: 49.08 kB / 1.196 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.6666, allocations: 0.7035 MB / 1.196 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 2.425e-06/0.6667, allocations: 3.938 kB / 1.196 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.003501/0.6702, allocations: 1.669 MB / 1.198 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.6703, allocations: 192.9 kB / 1.198 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.6712, allocations: 0.8417 MB / 1.199 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/0.6713, allocations: 57.62 kB / 1.199 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.6717, allocations: 0.6167 MB / 1.2 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.6719, allocations: 362.8 kB / 1.2 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.672, allocations: 85.67 kB / 1.2 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6721, allocations: 341.9 kB / 1.2 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.6728, allocations: 386.4 kB / 1.201 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.6736, allocations: 0.5102 MB / 1.201 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.675, allocations: 0.8711 MB / 1.202 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.675, allocations: 0 / 1.202 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00218/0.6772, allocations: 1.161 MB / 1.203 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6772, allocations: 8 kB / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6772, allocations: 0 / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/0.6778, allocations: 88.83 kB / 1.203 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.6787, allocations: 223.7 kB / 1.204 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.6804, allocations: 1.552 MB / 1.205 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/0.6813, allocations: 156.5 kB / 1.205 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.6813, allocations: 43.97 kB / 1.205 GB, free: 3.906 MB / 0.9512 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.0004509/0.6818, allocations: 347.9 kB / 1.206 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.682, allocations: 110.7 kB / 1.206 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.6849, allocations: 1.547 MB / 1.207 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.6849, allocations: 12 kB / 1.207 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6849, allocations: 0 / 1.207 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.685, allocations: 11.98 kB / 1.207 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.6863, allocations: 1.38 MB / 1.209 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.6863, allocations: 3.938 kB / 1.209 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/0.6871, allocations: 191.7 kB / 1.209 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.6876, allocations: 88.77 kB / 1.209 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.6876, allocations: 35.97 kB / 1.209 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.6892, allocations: 1.559 MB / 1.21 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6893, allocations: 4.031 kB / 1.21 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.6915, allocations: 1.285 MB / 1.212 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.692, allocations: 387 kB / 1.212 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.6921, allocations: 28 kB / 1.212 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008731/0.693, allocations: 123.8 kB / 1.212 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.6932, allocations: 97.11 kB / 1.212 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.6933, allocations: 56.03 kB / 1.212 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007095/0.694, allocations: 0.6176 MB / 1.213 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.694, allocations: 0 / 1.213 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008856/0.6949, allocations: 478.5 kB / 1.213 GB, free: 11.3 MB / 0.9669 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.003631/0.6985, allocations: 2.361 MB / 1.216 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.7004, allocations: 1.125 MB / 1.217 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7004, allocations: 0 / 1.217 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.7015, allocations: 0.6857 MB / 1.217 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.7028, allocations: 323.5 kB / 1.218 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.7169, allocations: 9.869 MB / 1.227 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/0.7177, allocations: 1.224 MB / 1.229 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009071/0.7186, allocations: 317.2 kB / 1.229 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007731/0.7194, allocations: 0.6125 MB / 1.23 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.7194, allocations: 0 / 1.23 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.404/2.123, allocations: 27.61 MB / 1.256 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/2.124, allocations: 306.9 kB / 1.257 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/4.58, allocations: 0 / 1.257 GB, free: 225.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)