Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.001196/0.001196, 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.001142/0.001142, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.177/1.177, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.335/2.335, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 62.67 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2148, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005385/0.2202, allocations: 4.864 MB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1216/0.3418, allocations: 148.3 MB / 1.202 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.3425, allocations: 19.88 kB / 1.202 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.343, allocations: 150.8 kB / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3444, allocations: 456.8 kB / 1.202 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3459, allocations: 0.7321 MB / 1.203 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.3471, allocations: 1.288 MB / 1.204 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.3479, allocations: 0.5595 MB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005502/0.3484, allocations: 406.4 kB / 1.205 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.349, allocations: 477.8 kB / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3491, allocations: 56 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006677/0.3498, allocations: 395.6 kB / 1.206 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.35, allocations: 239 kB / 1.206 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.3505, allocations: 0.4933 MB / 1.207 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.3517, allocations: 1.538 MB / 1.208 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3518, allocations: 0 / 1.208 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3518, allocations: 0 / 1.208 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3518, allocations: 0 / 1.208 GB, free: 7.723 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002142/0.3539, allocations: 1.426 MB / 1.21 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.354, allocations: 12.03 kB / 1.21 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.3541, allocations: 135.4 kB / 1.21 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008073/0.3549, allocations: 187.4 kB / 1.21 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.3558, allocations: 0.7381 MB / 1.211 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.3558, allocations: 58 kB / 1.211 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.3559, allocations: 84 kB / 1.211 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.3573, allocations: 0.9106 MB / 1.212 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3573, allocations: 7.938 kB / 1.212 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/0.3574, allocations: 36 kB / 1.212 GB, free: 4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.3574, allocations: 20 kB / 1.212 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.359, allocations: 1.1 MB / 1.213 GB, free: 2.879 MB / 0.9669 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.003321/0.3624, allocations: 2.716 MB / 1.216 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3638, allocations: 0.7941 MB / 1.216 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.3642, allocations: 298.7 kB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.61e-05/0.3643, allocations: 32.61 kB / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/0.3651, allocations: 495.1 kB / 1.217 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 1.843e-06/0.3651, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.002857/0.368, allocations: 1.19 MB / 1.218 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.3681, allocations: 192.5 kB / 1.219 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.3687, allocations: 0.6293 MB / 1.219 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.3688, allocations: 37.7 kB / 1.219 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.369, allocations: 400.3 kB / 1.22 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.3692, allocations: 260.3 kB / 1.22 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.3694, allocations: 150.5 kB / 1.22 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3696, allocations: 386.7 kB / 1.22 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.37, allocations: 245.9 kB / 1.221 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.3706, allocations: 362.5 kB / 1.221 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/0.3716, allocations: 0.5838 MB / 1.221 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3716, allocations: 0 / 1.221 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001692/0.3733, allocations: 0.8059 MB / 1.222 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3733, allocations: 4 kB / 1.222 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3733, allocations: 8 kB / 1.222 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.3739, allocations: 84.78 kB / 1.222 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.3744, allocations: 151.8 kB / 1.222 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.3762, allocations: 1.52 MB / 1.224 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.3768, allocations: 88.73 kB / 1.224 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.3768, allocations: 35.91 kB / 1.224 GB, free: 7.027 MB / 0.9825 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 (87): * Single equations (assignments): 86 * 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.0003093/0.3772, allocations: 265.6 kB / 1.224 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3773, allocations: 90.91 kB / 1.224 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.3795, allocations: 1.054 MB / 1.225 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3795, allocations: 12 kB / 1.225 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3795, allocations: 0 / 1.225 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3795, allocations: 3.984 kB / 1.225 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.3803, allocations: 0.9034 MB / 1.226 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3804, allocations: 48 / 1.226 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.3809, allocations: 147.8 kB / 1.227 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004838/0.3814, allocations: 84.77 kB / 1.227 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.3814, allocations: 23.98 kB / 1.227 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.383, allocations: 1.544 MB / 1.228 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.383, allocations: 3.984 kB / 1.228 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3848, allocations: 0.9278 MB / 1.229 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.385, allocations: 263.8 kB / 1.229 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.3852, allocations: 20 kB / 1.229 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.3857, allocations: 71.83 kB / 1.229 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3859, allocations: 64.91 kB / 1.229 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.3859, allocations: 35.97 kB / 1.229 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004644/0.3864, allocations: 459 kB / 1.23 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.362e-06/0.3864, allocations: 0 / 1.23 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006139/0.387, allocations: 319.2 kB / 1.23 GB, free: 0.5156 MB / 0.9825 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 (91): * Single equations (assignments): 85 * 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.002999/0.39, allocations: 1.977 MB / 1.232 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.3914, allocations: 0.7885 MB / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3914, allocations: 4.062 kB / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.3922, allocations: 0.5158 MB / 1.233 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.3932, allocations: 280.8 kB / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009567/0.4028, allocations: 6.726 MB / 1.24 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.4033, allocations: 1.02 MB / 1.241 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006917/0.404, allocations: 266.7 kB / 1.241 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/0.4044, allocations: 379.3 kB / 1.242 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.4044, allocations: 0 / 1.242 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.089/1.493, allocations: 20.48 MB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.493, allocations: 325.3 kB / 1.262 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/4.646, allocations: 0 / 1.262 GB, free: 189.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)