Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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.0008702/0.0008702, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004885/0.004885, allocations: 172.5 kB / 16.27 MB, free: 6.652 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.345/2.345, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 7.969 kB / 0.9029 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005473/0.2361, allocations: 5.517 MB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1314/0.3675, allocations: 146.9 MB / 1.208 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007504/0.3683, allocations: 19.88 kB / 1.208 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.3689, allocations: 182.5 kB / 1.208 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.3704, allocations: 0.5305 MB / 1.208 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.372, allocations: 0.751 MB / 1.209 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3735, allocations: 1.544 MB / 1.211 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.3746, allocations: 0.8191 MB / 1.211 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005772/0.3752, allocations: 417.9 kB / 1.212 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005658/0.3757, allocations: 477.2 kB / 1.212 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.3758, allocations: 32 kB / 1.212 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.3765, allocations: 371.6 kB / 1.213 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3767, allocations: 218.9 kB / 1.213 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000448/0.3771, allocations: 0.584 MB / 1.213 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.3786, allocations: 1.849 MB / 1.215 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.3786, allocations: 0 / 1.215 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3786, allocations: 0 / 1.215 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.3786, allocations: 4 kB / 1.215 GB, free: 4.016 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002186/0.3808, allocations: 1.452 MB / 1.217 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3808, allocations: 8.031 kB / 1.217 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.381, allocations: 185.8 kB / 1.217 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/0.3819, allocations: 235 kB / 1.217 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.3829, allocations: 0.8441 MB / 1.218 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.3829, allocations: 98.41 kB / 1.218 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3831, allocations: 116 kB / 1.218 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.3849, allocations: 1.202 MB / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3849, allocations: 0 / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.385, allocations: 52 kB / 1.219 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.3851, allocations: 28 kB / 1.219 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3869, allocations: 1.293 MB / 1.221 GB, free: 14.34 MB / 0.9825 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.004315/0.3913, allocations: 3.626 MB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.3927, allocations: 0.8742 MB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.3932, allocations: 326.7 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.3933, allocations: 32.72 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008049/0.3941, allocations: 0.5236 MB / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 2.044e-06/0.3941, allocations: 4 kB / 1.226 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.002972/0.3971, allocations: 1.298 MB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.3972, allocations: 192.9 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007696/0.398, allocations: 0.7314 MB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.398, allocations: 45.7 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.3984, allocations: 0.5193 MB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.3986, allocations: 283.8 kB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.3987, allocations: 65.69 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3988, allocations: 341.9 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.3993, allocations: 273.9 kB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.3999, allocations: 386.5 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4009, allocations: 0.6438 MB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4009, allocations: 0 / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001747/0.4027, allocations: 0.8837 MB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4027, allocations: 8.812 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4027, allocations: 4 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.4033, allocations: 88.77 kB / 1.231 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.4039, allocations: 163.8 kB / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.4057, allocations: 1.532 MB / 1.233 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.4064, allocations: 117 kB / 1.233 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.4064, allocations: 31.98 kB / 1.233 GB, free: 0.8906 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 (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.0003581/0.4068, allocations: 298.1 kB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.4069, allocations: 94.88 kB / 1.234 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.4093, allocations: 1.13 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4093, allocations: 8 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4093, allocations: 0 / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.4093, allocations: 11.91 kB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4104, allocations: 1.06 MB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4104, allocations: 48 / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.411, allocations: 159.7 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.4115, allocations: 92.77 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.4115, allocations: 27.92 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.4132, allocations: 1.544 MB / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4132, allocations: 0 / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.415, allocations: 0.9941 MB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.4154, allocations: 303.5 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.4155, allocations: 20 kB / 1.239 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.4162, allocations: 87.92 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4163, allocations: 76.89 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.4164, allocations: 39.97 kB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000586/0.417, allocations: 0.5185 MB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.417, allocations: 0 / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000733/0.4177, allocations: 378.8 kB / 1.24 GB, free: 9.828 MB / 0.9981 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.0032/0.4209, allocations: 2.058 MB / 1.242 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.4224, allocations: 0.8548 MB / 1.243 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4224, allocations: 4 kB / 1.243 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000877/0.4233, allocations: 0.5471 MB / 1.243 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.4245, allocations: 310.2 kB / 1.244 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4049/0.8294, allocations: 7.923 MB / 1.251 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.83, allocations: 1.109 MB / 1.252 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009237/0.831, allocations: 295.1 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.8315, allocations: 479.4 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.8315, allocations: 3.656 kB / 1.253 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.297/3.128, allocations: 22.7 MB / 1.275 GB, free: 182 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/3.129, allocations: 311.7 kB / 1.276 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/5.256, allocations: 1.031 kB / 1.276 GB, free: 181.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)