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.001393/0.001393, allocations: 108 kB / 15.6 MB, free: 132 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.001266/0.001266, allocations: 193 kB / 16.53 MB, free: 6.391 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.465/2.465, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 68.91 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.235, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007801/0.2428, allocations: 7.035 MB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1477/0.3906, allocations: 151.2 MB / 1.219 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008842/0.3915, allocations: 23.94 kB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.3923, allocations: 261.4 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.3944, allocations: 0.7686 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.3964, allocations: 1.017 MB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.3983, allocations: 2.077 MB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.3995, allocations: 1.103 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/0.4003, allocations: 0.8215 MB / 1.224 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008286/0.4011, allocations: 0.8792 MB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.4014, allocations: 220 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007941/0.4022, allocations: 0.5543 MB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.4026, allocations: 494.5 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007614/0.4033, allocations: 0.972 MB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.4055, allocations: 2.609 MB / 1.23 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4055, allocations: 4 kB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4055, allocations: 4 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.4055, allocations: 0 / 1.23 GB, free: 3.547 MB / 0.9825 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.003119/0.4087, allocations: 2.05 MB / 1.232 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.4087, allocations: 8.031 kB / 1.232 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002409/0.409, allocations: 228.2 kB / 1.232 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.4099, allocations: 258.6 kB / 1.233 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.4111, allocations: 0.9693 MB / 1.233 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4112, allocations: 152.8 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.4114, allocations: 152 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.4137, allocations: 1.596 MB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.4137, allocations: 0 / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.4139, allocations: 64 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.4139, allocations: 36 kB / 1.235 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.4163, allocations: 1.6 MB / 1.237 GB, free: 12.27 MB / 0.9981 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.005923/0.4222, allocations: 4.732 MB / 1.242 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.424, allocations: 1.096 MB / 1.243 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.4247, allocations: 427.7 kB / 1.243 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.332e-05/0.4248, allocations: 53 kB / 1.243 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.4259, allocations: 0.6957 MB / 1.244 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.024e-06/0.4259, allocations: 0 / 1.244 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.003571/0.4295, allocations: 1.657 MB / 1.245 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.4296, allocations: 196.9 kB / 1.246 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.4306, allocations: 0.8417 MB / 1.246 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/0.4307, allocations: 53.7 kB / 1.246 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.4311, allocations: 0.6206 MB / 1.247 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.4314, allocations: 350.9 kB / 1.247 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.4317, allocations: 214.7 kB / 1.248 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4318, allocations: 341.9 kB / 1.248 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.4325, allocations: 386.4 kB / 1.248 GB, free: 308 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3372/0.7697, allocations: 0.497 MB / 1.249 GB, free: 185 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.7713, allocations: 0.8598 MB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7713, allocations: 0 / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002399/0.7737, allocations: 1.151 MB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7738, allocations: 6.031 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7738, allocations: 1.578 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.7743, allocations: 87.48 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.7752, allocations: 221.8 kB / 1.251 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.7767, allocations: 1.64 MB / 1.253 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/0.7776, allocations: 137.1 kB / 1.253 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.7777, allocations: 44.19 kB / 1.253 GB, free: 183.5 MB / 0.9981 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.0005216/0.7782, allocations: 355.2 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.7785, allocations: 109.7 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.7813, allocations: 1.535 MB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7813, allocations: 13.28 kB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7814, allocations: 3.938 kB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.7814, allocations: 11.14 kB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.7826, allocations: 1.375 MB / 1.256 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.7826, allocations: 9.609 kB / 1.256 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/0.7832, allocations: 190.7 kB / 1.256 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003708/0.7836, allocations: 72.62 kB / 1.256 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.7837, allocations: 37 kB / 1.256 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.785, allocations: 1.679 MB / 1.258 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.785, allocations: 0.8438 kB / 1.258 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.7869, allocations: 1.286 MB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.7873, allocations: 359.7 kB / 1.26 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.7874, allocations: 33.31 kB / 1.26 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.7881, allocations: 83.7 kB / 1.26 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.7883, allocations: 97.53 kB / 1.26 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.7884, allocations: 55.77 kB / 1.26 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006029/0.789, allocations: 0.6169 MB / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.789, allocations: 0 / 1.261 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007991/0.7898, allocations: 478.4 kB / 1.261 GB, free: 181.2 MB / 0.9981 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.003593/0.7934, allocations: 2.359 MB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.7961, allocations: 1.397 MB / 1.265 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7961, allocations: 4.141 kB / 1.265 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009206/0.797, allocations: 0.6819 MB / 1.265 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.7981, allocations: 346.6 kB / 1.266 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.8095, allocations: 9.154 MB / 1.275 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.8101, allocations: 1.224 MB / 1.276 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008717/0.811, allocations: 315 kB / 1.276 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.8116, allocations: 0.6088 MB / 1.277 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.8116, allocations: 3.938 kB / 1.277 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.896/4.707, allocations: 29.08 MB / 1.305 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/18.54, allocations: 7.641 kB / 1.305 GB, free: 158.8 MB / 0.9981 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)