Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_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.0008548/0.0008548, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00494/0.00494, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.329/2.329, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 10.06 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2253, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00612/0.2315, allocations: 6.549 MB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.3608, allocations: 147.2 MB / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.3617, allocations: 15.94 kB / 1.209 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.3624, allocations: 206.4 kB / 1.209 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.3643, allocations: 0.6666 MB / 1.21 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.3661, allocations: 0.8866 MB / 1.211 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.3681, allocations: 1.956 MB / 1.213 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.3693, allocations: 1.047 MB / 1.214 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.3701, allocations: 0.5364 MB / 1.214 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.3708, allocations: 0.6176 MB / 1.215 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.371, allocations: 36 kB / 1.215 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007004/0.3717, allocations: 371.7 kB / 1.215 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.3719, allocations: 274.5 kB / 1.215 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006125/0.3725, allocations: 0.7433 MB / 1.216 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.3744, allocations: 2.421 MB / 1.218 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3744, allocations: 0 / 1.218 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3744, allocations: 0 / 1.218 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.3744, allocations: 4 kB / 1.218 GB, free: 0.6758 MB / 0.9669 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.002751/0.3772, allocations: 1.694 MB / 1.22 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3772, allocations: 19.91 kB / 1.22 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000235/0.3775, allocations: 228.2 kB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/0.3783, allocations: 270.6 kB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.3795, allocations: 0.9693 MB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.3796, allocations: 148.8 kB / 1.222 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.3798, allocations: 160 kB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.3821, allocations: 1.589 MB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.3822, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.3823, allocations: 68 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.3823, allocations: 40 kB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.3847, allocations: 1.608 MB / 1.225 GB, free: 9.723 MB / 0.9825 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.005795/0.3905, allocations: 4.765 MB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3922, allocations: 1.1 MB / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.3929, allocations: 439.8 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.393, allocations: 49.02 kB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.3941, allocations: 0.7074 MB / 1.232 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 2.044e-06/0.3941, allocations: 0 / 1.232 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.003527/0.3976, allocations: 1.672 MB / 1.234 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.3977, allocations: 192.9 kB / 1.234 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.3986, allocations: 0.8456 MB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/0.3987, allocations: 49.7 kB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.3991, allocations: 0.6207 MB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.3994, allocations: 350.9 kB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3995, allocations: 85.67 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3996, allocations: 345.9 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/0.4003, allocations: 378.5 kB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.401, allocations: 0.5141 MB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.4025, allocations: 0.875 MB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4025, allocations: 0 / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00221/0.4047, allocations: 1.161 MB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4047, allocations: 8 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4047, allocations: 0 / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.4053, allocations: 88.83 kB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.4061, allocations: 219.7 kB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.4079, allocations: 1.547 MB / 1.241 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008441/0.4088, allocations: 152.7 kB / 1.241 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.4089, allocations: 52 kB / 1.241 GB, free: 9.008 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.0004525/0.4093, allocations: 351.9 kB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.4095, allocations: 114.6 kB / 1.241 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.4125, allocations: 1.539 MB / 1.243 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4125, allocations: 12 kB / 1.243 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.4125, allocations: 4 kB / 1.243 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.4125, allocations: 7.984 kB / 1.243 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.4138, allocations: 1.376 MB / 1.244 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4138, allocations: 3.938 kB / 1.244 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.4146, allocations: 195.7 kB / 1.244 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.4151, allocations: 88.77 kB / 1.244 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.4152, allocations: 35.97 kB / 1.245 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.4168, allocations: 1.56 MB / 1.246 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4168, allocations: 4.031 kB / 1.246 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.4191, allocations: 1.296 MB / 1.247 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.4195, allocations: 387 kB / 1.248 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.4197, allocations: 28 kB / 1.248 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.4206, allocations: 119.8 kB / 1.248 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4207, allocations: 97.16 kB / 1.248 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.4208, allocations: 51.97 kB / 1.248 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006933/0.4215, allocations: 0.6176 MB / 1.249 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4215, allocations: 0 / 1.249 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008307/0.4224, allocations: 474.5 kB / 1.249 GB, free: 420 kB / 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.4175/0.8399, allocations: 2.351 MB / 1.251 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.8419, allocations: 1.128 MB / 1.252 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8419, allocations: 0.5938 kB / 1.252 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.843, allocations: 0.6857 MB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.8443, allocations: 318 kB / 1.253 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.8564, allocations: 9.86 MB / 1.263 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.857, allocations: 1.231 MB / 1.264 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009423/0.8579, allocations: 315.8 kB / 1.265 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/0.8586, allocations: 0.6074 MB / 1.265 GB, free: 183 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.8586, allocations: 0 / 1.265 GB, free: 183 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.749/2.608, allocations: 27.63 MB / 1.292 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/2.608, allocations: 309.5 kB / 1.292 GB, free: 174 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/5.208, allocations: 0 / 1.292 GB, free: 174 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)