Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001221/0.001221, allocations: 195.8 kB / 16.14 MB, free: 6.719 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.438 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.283/2.283, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4672, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005937/0.4732, allocations: 5.986 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.6, allocations: 148.5 MB / 1.168 GB, free: 7.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/0.6007, allocations: 19.88 kB / 1.168 GB, free: 7.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.6013, allocations: 182.6 kB / 1.168 GB, free: 7.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.6026, allocations: 0.5327 MB / 1.168 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.604, allocations: 0.7489 MB / 1.169 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.6051, allocations: 1.548 MB / 1.171 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009042/0.6061, allocations: 0.8425 MB / 1.171 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.6065, allocations: 0.533 MB / 1.172 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.6071, allocations: 0.626 MB / 1.172 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.6072, allocations: 88 kB / 1.173 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.6079, allocations: 423.6 kB / 1.173 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.6081, allocations: 310.8 kB / 1.173 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.6086, allocations: 0.676 MB / 1.174 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.61, allocations: 1.928 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.61, allocations: 0 / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.983e-06/0.61, allocations: 4 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.61, allocations: 0 / 1.176 GB, free: 15.18 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002461/0.6125, allocations: 1.713 MB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.6125, allocations: 8.031 kB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.6127, allocations: 181.8 kB / 1.178 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.6135, allocations: 227 kB / 1.178 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.6145, allocations: 0.848 MB / 1.179 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-05/0.6146, allocations: 86.41 kB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.6147, allocations: 120 kB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.6164, allocations: 1.202 MB / 1.18 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6165, allocations: 4 kB / 1.18 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.6166, allocations: 51.98 kB / 1.18 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.6166, allocations: 28 kB / 1.18 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.6184, allocations: 1.285 MB / 1.181 GB, free: 9.258 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.004092/0.6225, allocations: 3.577 MB / 1.185 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.6239, allocations: 0.8714 MB / 1.186 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.6244, allocations: 330.7 kB / 1.186 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-05/0.6245, allocations: 32.59 kB / 1.186 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008264/0.6253, allocations: 0.5197 MB / 1.187 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 1.944e-06/0.6253, allocations: 4 kB / 1.187 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.002974/0.6283, allocations: 1.282 MB / 1.188 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.6284, allocations: 188.9 kB / 1.188 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007408/0.6291, allocations: 0.7353 MB / 1.189 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.6292, allocations: 41.7 kB / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.6295, allocations: 0.5231 MB / 1.189 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.6297, allocations: 283.9 kB / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.6299, allocations: 158.5 kB / 1.19 GB, free: 432 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.63, allocations: 338 kB / 1.19 GB, free: 88 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.6305, allocations: 265.9 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.6311, allocations: 390.5 kB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6321, allocations: 0.6398 MB / 1.191 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6321, allocations: 0 / 1.191 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001735/0.6338, allocations: 0.8682 MB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6339, allocations: 7.938 kB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6339, allocations: 0 / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.6344, allocations: 88.8 kB / 1.192 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.6351, allocations: 163.8 kB / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.6369, allocations: 1.525 MB / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.6375, allocations: 109.3 kB / 1.194 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.6376, allocations: 39.98 kB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003547/0.638, allocations: 293.5 kB / 1.194 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.6381, allocations: 94.88 kB / 1.194 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.6403, allocations: 1.122 MB / 1.196 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6403, allocations: 12 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6404, allocations: 3.984 kB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6404, allocations: 11.92 kB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.6414, allocations: 1.056 MB / 1.197 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6414, allocations: 7.938 kB / 1.197 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.642, allocations: 151.7 kB / 1.197 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.6424, allocations: 84.77 kB / 1.197 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.6425, allocations: 27.98 kB / 1.197 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.6441, allocations: 1.548 MB / 1.198 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6441, allocations: 4 kB / 1.198 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.6459, allocations: 0.9902 MB / 1.199 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.6462, allocations: 287.6 kB / 1.2 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.6463, allocations: 23.91 kB / 1.2 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.6469, allocations: 75.86 kB / 1.2 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6471, allocations: 72.89 kB / 1.2 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.6471, allocations: 35.97 kB / 1.2 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000539/0.6477, allocations: 0.5146 MB / 1.2 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6477, allocations: 0 / 1.2 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007205/0.6484, allocations: 378.9 kB / 1.201 GB, free: 4.805 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003085/0.6515, allocations: 2.045 MB / 1.203 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.6529, allocations: 0.8508 MB / 1.203 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6529, allocations: 8.188 kB / 1.203 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.6538, allocations: 0.5354 MB / 1.204 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6549, allocations: 306.7 kB / 1.204 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6657, allocations: 7.89 MB / 1.212 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.6662, allocations: 1.106 MB / 1.213 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007892/0.667, allocations: 295.5 kB / 1.213 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.6676, allocations: 479.2 kB / 1.214 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.6676, allocations: 8 kB / 1.214 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.87/5.538, allocations: 23.02 MB / 1.236 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/5.538, allocations: 303.1 kB / 1.237 GB, free: 204 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/8.568, allocations: 10.19 kB / 1.237 GB, free: 196 kB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)