Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_11_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.0053/0.0053, allocations: 102 kB / 15.73 MB, free: 5.551 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.001271/0.001271, allocations: 195.4 kB / 16.67 MB, free: 5.477 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.53/2.53, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 64.12 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6454/0.6473, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01011/0.6574, allocations: 8.406 MB / 1.228 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.8137, allocations: 151.8 MB / 1.377 GB, free: 1.164 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.815, allocations: 23.88 kB / 1.377 GB, free: 1.141 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009664/0.816, allocations: 312.7 kB / 1.377 GB, free: 0.832 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.8185, allocations: 0.8666 MB / 1.378 GB, free: 15.96 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.8213, allocations: 1.387 MB / 1.379 GB, free: 14.58 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003313/0.8246, allocations: 3.001 MB / 1.382 GB, free: 11.57 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.8265, allocations: 1.487 MB / 1.384 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.8279, allocations: 1.184 MB / 1.385 GB, free: 8.836 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.8293, allocations: 1.354 MB / 1.386 GB, free: 7.477 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.8297, allocations: 324 kB / 1.386 GB, free: 7.16 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.8308, allocations: 0.7027 MB / 1.387 GB, free: 6.457 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005797/0.8314, allocations: 0.6972 MB / 1.388 GB, free: 5.758 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.8325, allocations: 1.338 MB / 1.389 GB, free: 4.414 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.8359, allocations: 3.678 MB / 1.393 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8359, allocations: 0 / 1.393 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.133e-06/0.8359, allocations: 3.938 kB / 1.393 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.836, allocations: 0 / 1.393 GB, free: 0.7188 MB / 1.107 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.005349/0.8413, allocations: 2.897 MB / 1.395 GB, free: 13.74 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.8414, allocations: 12.03 kB / 1.395 GB, free: 13.73 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003608/0.8417, allocations: 312.9 kB / 1.396 GB, free: 13.41 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.8565, allocations: 2.125 MB / 1.398 GB, free: 11.28 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.8584, allocations: 1.294 MB / 1.399 GB, free: 9.938 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.8585, allocations: 168.5 kB / 1.399 GB, free: 9.77 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.8589, allocations: 220 kB / 1.399 GB, free: 9.555 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007897/0.8668, allocations: 3.282 MB / 1.403 GB, free: 6.18 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.996e-05/0.8668, allocations: 3.984 kB / 1.403 GB, free: 6.176 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.8671, allocations: 96 kB / 1.403 GB, free: 6.082 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.8671, allocations: 52 kB / 1.403 GB, free: 6.031 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.8794, allocations: 4.209 MB / 1.407 GB, free: 1.805 MB / 1.123 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.01442/0.8938, allocations: 8.044 MB / 1.415 GB, free: 9.492 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008991/0.9028, allocations: 2.887 MB / 1.418 GB, free: 6.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/0.9071, allocations: 1.489 MB / 1.419 GB, free: 5.102 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.9078, allocations: 0.5074 MB / 1.42 GB, free: 4.504 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004852/0.9127, allocations: 1.844 MB / 1.421 GB, free: 2.641 MB / 1.139 GB Notification: Performance of pre-optimization done (n=213): time 3.466e-06/0.9127, allocations: 4 kB / 1.421 GB, free: 2.637 MB / 1.139 GB Notification: Performance of matching and sorting (n=213): time 0.01473/0.9275, allocations: 4.479 MB / 1.426 GB, free: 14.13 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.9276, allocations: 205.9 kB / 1.426 GB, free: 13.89 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.9288, allocations: 0.9491 MB / 1.427 GB, free: 12.92 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.929, allocations: 61.7 kB / 1.427 GB, free: 12.85 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006082/0.9296, allocations: 0.7601 MB / 1.428 GB, free: 12.08 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006304/0.9302, allocations: 0.7204 MB / 1.428 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007172/0.9309, allocations: 375.3 kB / 1.429 GB, free: 10.98 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9311, allocations: 305.1 kB / 1.429 GB, free: 10.68 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/0.9352, allocations: 1.237 MB / 1.43 GB, free: 9.445 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/0.9395, allocations: 1.429 MB / 1.432 GB, free: 7.977 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008214/0.9477, allocations: 2.587 MB / 1.434 GB, free: 5.371 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9477, allocations: 0 / 1.434 GB, free: 5.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009729/0.9575, allocations: 3.082 MB / 1.437 GB, free: 2.277 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.9575, allocations: 14.12 kB / 1.437 GB, free: 2.266 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.9575, allocations: 4.062 kB / 1.437 GB, free: 2.262 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.9581, allocations: 88.7 kB / 1.437 GB, free: 2.172 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/0.9616, allocations: 0.5929 MB / 1.438 GB, free: 1.578 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.9636, allocations: 1.638 MB / 1.439 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.9664, allocations: 370.5 kB / 1.44 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.9666, allocations: 91.89 kB / 1.44 GB, free: 15.34 MB / 1.17 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.0007644/0.9674, allocations: 423.8 kB / 1.44 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.9678, allocations: 171 kB / 1.44 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.9788, allocations: 3.716 MB / 1.444 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.9789, allocations: 27.98 kB / 1.444 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9789, allocations: 4 kB / 1.444 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.9789, allocations: 7.969 kB / 1.444 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.9817, allocations: 2.46 MB / 1.446 GB, free: 8.477 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.9818, allocations: 3.938 kB / 1.446 GB, free: 8.473 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/0.9851, allocations: 0.5616 MB / 1.447 GB, free: 7.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.9855, allocations: 76.78 kB / 1.447 GB, free: 7.832 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.9857, allocations: 75.91 kB / 1.447 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.9876, allocations: 1.667 MB / 1.449 GB, free: 5.945 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.9876, allocations: 3.938 kB / 1.449 GB, free: 5.941 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009594/0.9972, allocations: 3.219 MB / 1.452 GB, free: 2.695 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/0.9981, allocations: 0.5616 MB / 1.452 GB, free: 2.113 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/0.9984, allocations: 51.92 kB / 1.453 GB, free: 2.062 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/1.001, allocations: 269.8 kB / 1.453 GB, free: 1.801 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/1.001, allocations: 149.8 kB / 1.453 GB, free: 1.656 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.002, allocations: 91.91 kB / 1.453 GB, free: 1.566 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008995/1.002, allocations: 0.6997 MB / 1.454 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/1.002, allocations: 0 / 1.454 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00142/1.004, allocations: 0.678 MB / 1.454 GB, free: 184 kB / 1.17 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.01174/1.016, allocations: 4.337 MB / 1.459 GB, free: 11.99 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.009234/1.025, allocations: 3.139 MB / 1.462 GB, free: 8.836 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.025, allocations: 4 kB / 1.462 GB, free: 8.832 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/1.03, allocations: 1.755 MB / 1.463 GB, free: 7.066 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.031, allocations: 400.2 kB / 1.464 GB, free: 6.695 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/1.068, allocations: 15.9 MB / 1.479 GB, free: 6.582 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.07, allocations: 1.422 MB / 1.481 GB, free: 5.121 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00245/1.072, allocations: 0.5834 MB / 1.481 GB, free: 4.531 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/1.074, allocations: 0.8818 MB / 1.482 GB, free: 3.648 MB / 1.201 GB Notification: Performance of SimCode: time 5.61e-07/1.074, allocations: 0 / 1.482 GB, free: 3.648 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.538/7.612, allocations: 42.83 MB / 1.524 GB, free: 9.199 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/26.95, allocations: 3.938 kB / 1.524 GB, free: 9.195 MB / 1.248 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)