Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.007068/0.007068, allocations: 96.39 kB / 15.73 MB, free: 6 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.001774/0.001774, allocations: 189.4 kB / 16.67 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.403/2.403, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 67.88 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2457, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00914/0.2549, allocations: 8.439 MB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.6191/0.874, allocations: 151.8 MB / 1.323 GB, free: 7.684 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.8753, allocations: 27.94 kB / 1.323 GB, free: 7.672 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000861/0.8762, allocations: 319.7 kB / 1.323 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.8783, allocations: 0.8497 MB / 1.324 GB, free: 7.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.8807, allocations: 1.385 MB / 1.325 GB, free: 6.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002787/0.8835, allocations: 3.001 MB / 1.328 GB, free: 5.332 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.8852, allocations: 1.486 MB / 1.33 GB, free: 4.547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.8866, allocations: 1.191 MB / 1.331 GB, free: 3.945 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.8881, allocations: 1.343 MB / 1.332 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.8884, allocations: 324.2 kB / 1.332 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.8895, allocations: 0.7025 MB / 1.333 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005475/0.8901, allocations: 0.6985 MB / 1.334 GB, free: 2.656 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.8912, allocations: 1.347 MB / 1.335 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.8944, allocations: 3.675 MB / 1.339 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.8944, allocations: 0.75 kB / 1.339 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8944, allocations: 4 kB / 1.339 GB, free: 196 kB / 1.014 GB Notification: Performance of Transformations before backend: time 3.256e-05/0.8944, allocations: 0 / 1.339 GB, free: 196 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005354/0.8998, allocations: 2.898 MB / 1.341 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.8998, allocations: 9.594 kB / 1.341 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003504/0.9002, allocations: 314.5 kB / 1.342 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.9139, allocations: 2.128 MB / 1.344 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.9159, allocations: 1.299 MB / 1.345 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.916, allocations: 171.2 kB / 1.345 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.9164, allocations: 219.6 kB / 1.346 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007598/0.924, allocations: 3.278 MB / 1.349 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.924, allocations: 1.031 kB / 1.349 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.9243, allocations: 95.66 kB / 1.349 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.9243, allocations: 59.66 kB / 1.349 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.9361, allocations: 4.198 MB / 1.353 GB, free: 9.652 MB / 1.029 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.01381/0.9499, allocations: 8.05 MB / 1.361 GB, free: 3.402 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008202/0.9581, allocations: 2.879 MB / 1.364 GB, free: 1.965 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003959/0.9621, allocations: 1.493 MB / 1.365 GB, free: 1.195 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/0.9628, allocations: 0.5063 MB / 1.366 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00451/0.9673, allocations: 1.841 MB / 1.367 GB, free: 15.56 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 5.04e-06/0.9674, allocations: 96 / 1.367 GB, free: 15.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.01362/0.981, allocations: 4.483 MB / 1.372 GB, free: 13.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.9811, allocations: 208.6 kB / 1.372 GB, free: 13.07 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.9822, allocations: 0.9377 MB / 1.373 GB, free: 12.54 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.9823, allocations: 68.34 kB / 1.373 GB, free: 12.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/0.9829, allocations: 0.7646 MB / 1.374 GB, free: 11.8 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.9835, allocations: 0.7155 MB / 1.374 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006748/0.9842, allocations: 374.2 kB / 1.375 GB, free: 10.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9843, allocations: 313.1 kB / 1.375 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00387/0.9882, allocations: 1.24 MB / 1.376 GB, free: 10.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004023/0.9922, allocations: 1.427 MB / 1.378 GB, free: 9.227 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007722/0.9999, allocations: 2.585 MB / 1.38 GB, free: 7.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9999, allocations: 10.5 kB / 1.38 GB, free: 7.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009208/1.009, allocations: 3.076 MB / 1.383 GB, free: 5.828 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.009, allocations: 11.98 kB / 1.383 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.009, allocations: 0 / 1.383 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/1.01, allocations: 88.84 kB / 1.383 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/1.013, allocations: 0.5928 MB / 1.384 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/1.015, allocations: 1.639 MB / 1.385 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/1.018, allocations: 366.5 kB / 1.386 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/1.018, allocations: 91.89 kB / 1.386 GB, free: 2.898 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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 (231): * Single equations (assignments): 230 * 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.0007728/1.019, allocations: 443.7 kB / 1.386 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/1.019, allocations: 159 kB / 1.386 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.03, allocations: 3.714 MB / 1.39 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.03, allocations: 24 kB / 1.39 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.03, allocations: 0 / 1.39 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.03, allocations: 11.95 kB / 1.39 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/1.033, allocations: 2.468 MB / 1.393 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/1.033, allocations: 4 kB / 1.393 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.036, allocations: 0.5616 MB / 1.393 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/1.036, allocations: 76.72 kB / 1.393 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/1.037, allocations: 71.92 kB / 1.393 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/1.038, allocations: 1.666 MB / 1.395 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.038, allocations: 0 / 1.395 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009373/1.048, allocations: 3.219 MB / 1.398 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/1.049, allocations: 0.5538 MB / 1.399 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/1.049, allocations: 59.83 kB / 1.399 GB, free: 5.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/1.052, allocations: 268.6 kB / 1.399 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/1.052, allocations: 149.8 kB / 1.399 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/1.052, allocations: 95.91 kB / 1.399 GB, free: 5.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008615/1.053, allocations: 0.6997 MB / 1.4 GB, free: 4.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.053, allocations: 4 kB / 1.4 GB, free: 4.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001445/1.054, allocations: 0.6741 MB / 1.4 GB, free: 3.734 MB / 1.061 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,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * 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.01147/1.066, allocations: 4.354 MB / 1.405 GB, free: 15.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008908/1.075, allocations: 3.131 MB / 1.408 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.075, allocations: 0 / 1.408 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004692/1.079, allocations: 1.759 MB / 1.409 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.081, allocations: 384.9 kB / 1.41 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/1.116, allocations: 15.91 MB / 1.425 GB, free: 10.14 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009786/1.117, allocations: 1.426 MB / 1.427 GB, free: 8.672 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002292/1.119, allocations: 0.5873 MB / 1.427 GB, free: 8.078 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.121, allocations: 0.8779 MB / 1.428 GB, free: 7.199 MB / 1.092 GB Notification: Performance of SimCode: time 3.31e-07/1.121, allocations: 0 / 1.428 GB, free: 7.199 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.233/8.354, allocations: 42.84 MB / 1.47 GB, free: 12.71 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.07/26.42, allocations: 6.359 kB / 1.47 GB, free: 12.71 MB / 1.139 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)