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.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.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.001249/0.001249, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.217/1.217, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.304/2.304, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.89 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4879, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006988/0.4949, allocations: 7.08 MB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1296/0.6245, allocations: 151.1 MB / 1.172 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009231/0.6255, allocations: 19.94 kB / 1.172 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007276/0.6262, allocations: 265.4 kB / 1.172 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.6283, allocations: 0.7625 MB / 1.173 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.6303, allocations: 1.021 MB / 1.174 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.6321, allocations: 2.077 MB / 1.176 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.6333, allocations: 1.107 MB / 1.177 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006404/0.6339, allocations: 0.8175 MB / 1.178 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.6346, allocations: 0.885 MB / 1.179 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.6349, allocations: 224 kB / 1.179 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.6356, allocations: 0.5426 MB / 1.179 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.636, allocations: 494.5 kB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.6366, allocations: 0.9759 MB / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.6385, allocations: 2.621 MB / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.6385, allocations: 0 / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6385, allocations: 0 / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.6385, allocations: 0 / 1.183 GB, free: 7.824 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.002959/0.6415, allocations: 2.056 MB / 1.185 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.6415, allocations: 8.031 kB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.6418, allocations: 224.2 kB / 1.186 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.6427, allocations: 258.6 kB / 1.186 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.6438, allocations: 0.9693 MB / 1.187 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.6439, allocations: 152.8 kB / 1.187 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.6441, allocations: 148 kB / 1.187 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.6462, allocations: 1.593 MB / 1.189 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.6463, allocations: 0 / 1.189 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.6464, allocations: 64 kB / 1.189 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.6464, allocations: 36 kB / 1.189 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.6487, allocations: 1.596 MB / 1.19 GB, free: 0.5586 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.005635/0.6543, allocations: 4.747 MB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.656, allocations: 1.102 MB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.6567, allocations: 431.7 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.079e-05/0.6568, allocations: 49.08 kB / 1.197 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.6579, allocations: 0.6997 MB / 1.197 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 2.164e-06/0.6579, allocations: 0 / 1.197 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.003533/0.6614, allocations: 1.653 MB / 1.199 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.6615, allocations: 192.9 kB / 1.199 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.6624, allocations: 0.8456 MB / 1.2 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.6625, allocations: 49.7 kB / 1.2 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.6629, allocations: 0.6206 MB / 1.2 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.6631, allocations: 354.8 kB / 1.201 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.6634, allocations: 210.8 kB / 1.201 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6635, allocations: 341.9 kB / 1.201 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.6641, allocations: 382.4 kB / 1.202 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.6649, allocations: 0.5063 MB / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.6663, allocations: 0.8632 MB / 1.203 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6663, allocations: 0 / 1.203 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002205/0.6685, allocations: 1.153 MB / 1.204 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6685, allocations: 4 kB / 1.204 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6685, allocations: 0 / 1.204 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.6691, allocations: 88.78 kB / 1.204 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.67, allocations: 223.6 kB / 1.204 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.6717, allocations: 1.647 MB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.6725, allocations: 126.9 kB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.6726, allocations: 47.95 kB / 1.206 GB, free: 15.72 MB / 0.9669 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.0004286/0.673, allocations: 348.1 kB / 1.207 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.6732, allocations: 118.5 kB / 1.207 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.6762, allocations: 1.539 MB / 1.208 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.6762, allocations: 15.98 kB / 1.208 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.6762, allocations: 0 / 1.208 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6762, allocations: 7.984 kB / 1.208 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.6775, allocations: 1.373 MB / 1.21 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6775, allocations: 7.984 kB / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007589/0.6782, allocations: 191.7 kB / 1.21 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.6787, allocations: 76.78 kB / 1.21 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.6787, allocations: 35.97 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.6804, allocations: 1.673 MB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6804, allocations: 0 / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.6827, allocations: 1.285 MB / 1.213 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.6831, allocations: 363.2 kB / 1.213 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.6833, allocations: 28 kB / 1.213 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.6841, allocations: 84.84 kB / 1.213 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6843, allocations: 97.17 kB / 1.213 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.651e-05/0.6844, allocations: 47.97 kB / 1.213 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006864/0.685, allocations: 0.6215 MB / 1.214 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6851, allocations: 0 / 1.214 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007939/0.6859, allocations: 470.5 kB / 1.214 GB, free: 7.102 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.00357/0.6894, allocations: 2.351 MB / 1.217 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002948/0.6924, allocations: 1.398 MB / 1.218 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6924, allocations: 4 kB / 1.218 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.6935, allocations: 0.6815 MB / 1.219 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.6946, allocations: 361.5 kB / 1.219 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.7064, allocations: 9.157 MB / 1.228 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.707, allocations: 1.224 MB / 1.229 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.7079, allocations: 317.2 kB / 1.23 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/0.7086, allocations: 0.6086 MB / 1.23 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.7086, allocations: 4 kB / 1.23 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9799/1.689, allocations: 29.05 MB / 1.258 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.32, allocations: 15.58 kB / 1.258 GB, free: 229.1 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)