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.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.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.00102/0.00102, 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.0009935/0.0009934, allocations: 195.5 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.326/2.326, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 67.89 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4875, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006601/0.4941, allocations: 5.985 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1301/0.6242, allocations: 150.8 MB / 1.171 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008315/0.6251, allocations: 15.94 kB / 1.171 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.6259, allocations: 237.7 kB / 1.171 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.6279, allocations: 0.6366 MB / 1.171 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.6297, allocations: 0.8579 MB / 1.172 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.6314, allocations: 1.646 MB / 1.174 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.6325, allocations: 0.8618 MB / 1.175 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/0.6332, allocations: 0.6112 MB / 1.175 GB, free: 192 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.6338, allocations: 0.6574 MB / 1.176 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.634, allocations: 156 kB / 1.176 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.6348, allocations: 495.5 kB / 1.177 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.635, allocations: 378.7 kB / 1.177 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005127/0.6355, allocations: 0.7346 MB / 1.178 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.6371, allocations: 1.982 MB / 1.18 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6371, allocations: 8 kB / 1.18 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6371, allocations: 0 / 1.18 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.6371, allocations: 0 / 1.18 GB, free: 11.79 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.002339/0.6395, allocations: 1.718 MB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.6395, allocations: 8.031 kB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.6397, allocations: 189.8 kB / 1.181 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/0.6405, allocations: 222.9 kB / 1.182 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.6415, allocations: 0.848 MB / 1.182 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.6416, allocations: 86.41 kB / 1.183 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6417, allocations: 120 kB / 1.183 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.6434, allocations: 1.206 MB / 1.184 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.6434, allocations: 3.984 kB / 1.184 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/0.6435, allocations: 52 kB / 1.184 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.6435, allocations: 28 kB / 1.184 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.6454, allocations: 1.281 MB / 1.185 GB, free: 5.855 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.004118/0.6495, allocations: 3.593 MB / 1.189 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.6509, allocations: 0.8714 MB / 1.19 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.6515, allocations: 322.7 kB / 1.19 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.788e-05/0.6515, allocations: 32.59 kB / 1.19 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007736/0.6523, allocations: 0.5198 MB / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 1.803e-06/0.6523, allocations: 0 / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003046/0.6554, allocations: 1.282 MB / 1.192 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.6555, allocations: 188.9 kB / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.6562, allocations: 0.7353 MB / 1.193 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.6563, allocations: 45.7 kB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.6566, allocations: 0.5153 MB / 1.193 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.6568, allocations: 283.9 kB / 1.193 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.657, allocations: 158.5 kB / 1.194 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.6571, allocations: 341.9 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.6576, allocations: 269.8 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.6582, allocations: 386.5 kB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.6592, allocations: 0.6398 MB / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6593, allocations: 0 / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001781/0.661, allocations: 0.8721 MB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6611, allocations: 7.938 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6611, allocations: 3.938 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.6616, allocations: 80.88 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.6623, allocations: 171.8 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.6641, allocations: 1.626 MB / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.6647, allocations: 109.1 kB / 1.198 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.6648, allocations: 27.98 kB / 1.198 GB, free: 8.312 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.0003409/0.6651, allocations: 301.6 kB / 1.198 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.6653, allocations: 94.88 kB / 1.198 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.6676, allocations: 1.125 MB / 1.199 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6676, allocations: 8 kB / 1.199 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6676, allocations: 4 kB / 1.199 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6676, allocations: 7.969 kB / 1.199 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009851/0.6686, allocations: 1.06 MB / 1.2 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6686, allocations: 0 / 1.2 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.6692, allocations: 155.8 kB / 1.201 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.6696, allocations: 76.78 kB / 1.201 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.6697, allocations: 27.92 kB / 1.201 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.6713, allocations: 1.662 MB / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6713, allocations: 0 / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.6732, allocations: 0.9824 MB / 1.203 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.6735, allocations: 295.5 kB / 1.204 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6736, allocations: 24 kB / 1.204 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.6743, allocations: 59.88 kB / 1.204 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.6744, allocations: 76.89 kB / 1.204 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.6745, allocations: 35.97 kB / 1.204 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005567/0.675, allocations: 0.5146 MB / 1.204 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.6751, allocations: 4 kB / 1.204 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007177/0.6758, allocations: 382.9 kB / 1.205 GB, free: 1.184 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.003225/0.679, allocations: 2.032 MB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.6812, allocations: 1.077 MB / 1.208 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6813, allocations: 0 / 1.208 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.6822, allocations: 0.5511 MB / 1.208 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.6833, allocations: 324.6 kB / 1.208 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6934, allocations: 7.362 MB / 1.216 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.694, allocations: 1.11 MB / 1.217 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008187/0.6949, allocations: 307.5 kB / 1.217 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.6954, allocations: 479.2 kB / 1.218 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.6954, allocations: 0 / 1.218 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.593/1.288, allocations: 23.86 MB / 1.241 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.08, allocations: 15.41 kB / 1.241 GB, free: 12.37 MB / 0.9981 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)