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.001225/0.001225, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00115/0.00115, allocations: 192.5 kB / 16.25 MB, free: 6.598 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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.383 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.194/2.194, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 71.88 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4774, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006334/0.4838, allocations: 5.978 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1266/0.6104, allocations: 148.6 MB / 1.168 GB, free: 7.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.6112, allocations: 23.88 kB / 1.168 GB, free: 7.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.6119, allocations: 182.5 kB / 1.168 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.6136, allocations: 0.5479 MB / 1.169 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.6153, allocations: 0.7824 MB / 1.169 GB, free: 6 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.6168, allocations: 1.642 MB / 1.171 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009881/0.6178, allocations: 0.8696 MB / 1.172 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.6185, allocations: 0.6111 MB / 1.172 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006531/0.6191, allocations: 0.6631 MB / 1.173 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.6193, allocations: 152 kB / 1.173 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.62, allocations: 495.7 kB / 1.174 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.6203, allocations: 378.7 kB / 1.174 GB, free: 1.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005699/0.6209, allocations: 0.7424 MB / 1.175 GB, free: 432 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.6225, allocations: 1.986 MB / 1.177 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6225, allocations: 4 kB / 1.177 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6225, allocations: 4 kB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.6225, allocations: 0 / 1.177 GB, free: 14.42 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.002345/0.6248, allocations: 1.713 MB / 1.178 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.6249, allocations: 8.031 kB / 1.178 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.6251, allocations: 177.8 kB / 1.179 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.6259, allocations: 227 kB / 1.179 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.6268, allocations: 0.8441 MB / 1.18 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.6269, allocations: 98.33 kB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.627, allocations: 116 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.6287, allocations: 1.206 MB / 1.181 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6288, allocations: 0 / 1.181 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.6289, allocations: 52 kB / 1.181 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.6289, allocations: 32 kB / 1.181 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.6307, allocations: 1.285 MB / 1.182 GB, free: 8.496 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.003994/0.6347, allocations: 3.581 MB / 1.186 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.636, allocations: 0.8675 MB / 1.187 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.6365, allocations: 322.7 kB / 1.187 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.6366, allocations: 36.59 kB / 1.187 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008007/0.6374, allocations: 0.5197 MB / 1.188 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 1.963e-06/0.6374, allocations: 3.938 kB / 1.188 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.002929/0.6403, allocations: 1.274 MB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.6404, allocations: 192.9 kB / 1.189 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.6411, allocations: 0.7392 MB / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.6412, allocations: 45.7 kB / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.6415, allocations: 0.5191 MB / 1.19 GB, free: 104 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.6417, allocations: 279.9 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.6419, allocations: 162.5 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.6421, allocations: 337.9 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.6425, allocations: 269.9 kB / 1.191 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.6431, allocations: 382.5 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.6441, allocations: 0.6398 MB / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6441, allocations: 64 / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001743/0.6459, allocations: 0.8798 MB / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6459, allocations: 7.938 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.6459, allocations: 0 / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.6465, allocations: 80.88 kB / 1.193 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.6471, allocations: 163.8 kB / 1.193 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3278/0.9749, allocations: 1.645 MB / 1.195 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.9757, allocations: 103.2 kB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.9758, allocations: 31.98 kB / 1.195 GB, free: 10.95 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.0003951/0.9762, allocations: 293.6 kB / 1.195 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.9763, allocations: 94.88 kB / 1.195 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.9786, allocations: 1.133 MB / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.9786, allocations: 11.98 kB / 1.197 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9786, allocations: 4 kB / 1.197 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.9786, allocations: 4.094 kB / 1.197 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.9796, allocations: 1.06 MB / 1.198 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9796, allocations: 4 kB / 1.198 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.9802, allocations: 151.8 kB / 1.198 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.9806, allocations: 76.72 kB / 1.198 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.9807, allocations: 31.92 kB / 1.198 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.9823, allocations: 1.662 MB / 1.199 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9823, allocations: 0 / 1.199 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.984, allocations: 0.9862 MB / 1.2 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.9843, allocations: 291.5 kB / 1.201 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.9845, allocations: 24 kB / 1.201 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.9851, allocations: 73.42 kB / 1.201 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9852, allocations: 72.89 kB / 1.201 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.9853, allocations: 35.98 kB / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005327/0.9858, allocations: 0.5224 MB / 1.201 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9859, allocations: 0 / 1.201 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007483/0.9866, allocations: 382.8 kB / 1.202 GB, free: 3.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.003005/0.9896, allocations: 2.031 MB / 1.204 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.9917, allocations: 1.073 MB / 1.205 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.9917, allocations: 3.938 kB / 1.205 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.9925, allocations: 0.5434 MB / 1.205 GB, free: 288 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.9936, allocations: 326.3 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.004, allocations: 7.891 MB / 1.213 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/1.005, allocations: 1.098 MB / 1.214 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007761/1.006, allocations: 299.5 kB / 1.215 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/1.006, allocations: 483.2 kB / 1.215 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/1.006, allocations: 0 / 1.215 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.135/3.141, allocations: 23.67 MB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/3.142, allocations: 313.9 kB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/5.296, allocations: 0 / 1.239 GB, free: 14.34 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)